function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
fullvaluefullvalue 

Flex IE Secure and Nonsecure Items

Because of this line

xmlns:mx="http://www.adobe.com/2006/mxml"

in my Flex application IE gets an error about displaying both secure and nonsecure items.  Is there a way to prevent this from happening other than changing IE settings. 

Thanks for any help!
fullvaluefullvalue
Anyone have this issue?


fullvaluefullvalue
If I change it to xmlns:mx="https://www.adobe.com/2006/mxml" i get an error in Flex builder:

Could not resolve <mx:Application> to a component implementation
DevAngelDevAngel
Well, I've been running a lot of these Flex apps and have never had this issue. Could it be something else?
fullvaluefullvalue
Thanks for responding....


Interesting because it happens on all Internet Explorers that I have tried.

Let me explain a little more.  I have a Flex App in an s-control.  I log in to Salesforce via Internet Explorer (personally I use firefox but most user use IE). I click on the view that displays the scontrol and I get the message.  It seems that because salesforce uses https and this line  xmlns:mx="http://www.adobe.com/2006/mxml" is http, it causes the mix content message. 

In Internet Explorer you can change settings to either duplicate this message or get rid of it.  The problem is having to change every users settings to get rid of the message.  Below is the setting path:

Tools => Internet Options => Security Tab => Custom Level button => Miscellaneous => Display Mix Content

The default level for this setting is prompt and for some reason when you get prompt you can not say don't show me again.  You have to go into the settings to change it to Disable.

Again any help would be great this flex app goes live end of the month. 

Thanks!

DevAngelDevAngel
The reason I don't think that is the problem is because that is just a namespace definition.  Flex or Flash doesn't actually navigate the url.  Where is the actual swf file located?
fullvaluefullvalue
Ok thanks for pointing that out.  I was thinking that cause it was the only thing that had http in my app. 

But I found where the problem was.  It was it the HTML in the s-control. 

codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"

pluginspage="http://www.adobe.com/go/getflashplayer"

Once I changed these to https no more message. 

Thanks for taking the time to write back to me.  I figured I was missing something since I couldn't find much info out there about the issue. 

Thanks again!


DevAngelDevAngel
Ah, good catch.  Glad you figured it out.