In Flash, “domin” is not “domain” is not “domain.com”

On 6/28/10 3:34 PM, "Clark Stevenson" <[email protected]> wrote:







Hi everyone.

My problem seems pretty simple. Im trying to load a SWF into a SWFLoader in FB4.

I get this error in the debug view locally, but also when on the test server.

SecurityError: Error #2121: Security sandbox violation: Loader.content: 
http://domin/dir/tool.swf/[[DYNAMIC]]/2 cannot access 
http://domain/dir/dir/2.swf. This may be worked around by calling 
Security.allowDomain.

I am not trying to pull SWFs from any other swf.

I have a * in my crossdomain.xml

I have set:

Security.allowDomain("domain.com <http://domain.com> ");

In the creation complete event.


Hmm does anyone know how i can solve this? I googled it and went through the 
first 2 pages, tried loading a policy file, and a few other things.

Its a new server, so maybe i have missed something in my setup as i have never 
run into this before.

Thanks.







--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to