Hi guys,
I am going crazy, so now was the time to post ;-)
I have two swf-files, lets call them A and B.
Each one is hosted on a seperate domain, both are standard http-
domains.
A is loading B using the Loader class, but when it does, it throws a
security sandbox violation error 2121.
The error is thrown at exactly the point in my code, where A tries to
change the loader.content.scaleX (i.e.chaging width of B).
The error in detail is:
Error #2121: Security sandbox violation:
Loader.content: http://XXDomain/files/A.swf cannot
access
http://YYDomain/abc/def/assets/flash/B.swf.
This may be worked around by calling Security.allowDomain.
However, my application code also include the code:
Security.allowDomain("*");
I think I have done everything I can to get it to work:
Distributor domain(YYDomain) has a crossdomain.xml file which allows
access for all (*),
and I even force client Flex application to load it by using
Security.loadPolicyFile().
And, now I am all out of ideas, what else can I possible do?
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.