This content has been marked as final. Show 8 replies
Oddly, I've just installed Flash Player version 9,0,115,0 and it seems to work fin in there, no errors.
Hrm. Any ideas?
Generally when something is labeled as a Security error with flash it relates to the crossdomain.xml file. The first thing I'd check is all of the services being used to bring in data are coming from places that are allowed within the crossdomain.xml file. An easy way to test this would be to allow everything within the crossdomain.xml, test it to see if you get the same error, if you don't then you know the problem belongs there, if you do get the same error then the problem lies in something deeper like maybe your application cannot currently find your crossdomain.xml to even check the policies? Just a thought.
Where should the crossdomain.xml be placed? I have it in the root of the webserver's web directory.
this is the contents of the current file...
<!DOCTYPE cross-domain-policy SYSTEM " http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<allow-access-from domain="*" />
FlashPlayer 9.0.124 has increased restrictions with its security model.
For URL based access (FlashLoader) you need the crossdomain.xml in the server root. For socket based access you need a socket policy file and a policy file server (assumingly).
I haven't been able to get the latter working. See my cry for help here:
Adobe has more info here: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html
I'm not sure if I need a socket policy file, I'm using web services...?
Try changing your crossdomain.xml file to the following for a quick test. It will allow access to everything. Once you've changed that, refresh your application and tell us if the web services still throw a security error, if it does not throw a security error then you do not need the socket policy file you just need to fine tune your crossdomain.xml access rights for your application. Having the crossdomain.xml inside of your web root is the right place for it.
I just finished a Flex 3 application that is "embedded" by a Zend Framework php application. It makes an HTTPService call back to the same server running the php application. This worked fine as I developed on my system using "localhost." After moving it out to a demo server, it now throws the "Security error accessing url error" when it makes the HTTPService call. I tried putting a crossdomain.xml file in the root of the server with no luck.
Is the fact is was embedded in Zend Framework preventing the SWF from knowing from which domain it was invoked? How can this be worked around? Thank you for you help.
For socket based access you need a socket policy file and a policy file server (assumingly).