When I deployed my app out into the real world for testing, I ran into this when trying to load the captcha used in creating new accounts. My app is running off my own server. So it has to go cross domain when getting captcha.
SecurityError: Error #2122: Security sandbox violation: LoaderInfo.content: http://mywebsite.com/mygame.swf cannot access https://content.playerio.com/getcaptcha ... 00cm2ACxiQ. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
I am loading this when I initialize my app.
Security.loadPolicyFile( "http://cdn.playerio.com/crossdomain.xml" );
Security.allowDomain( "*" );
and in the params I am specifying
allowScriptAccess: "always"
Suggestions?
I have been reading about checkPolicyFile for last few hours with no luck at all.
thanks for reading it
bob