Hi Everyone,
Once again, let the nightmare of the Security Sandbox Violations begin!
I am currently trying to include an AS2 application hosted by "xyz.com" domain loaded into other projects. The flash app loading this AS2 app I mentioned above, is required to pass a few variables inside. Everything seems to be working fantastic on the following scenarios:
REQ1- Loading my AS2 application from
http://www.xyz.com into an AS3 project on my local machine.
WORKS!
REQ2- Loading my AS2 application from
http://www.my.com into an AS2 project on my local machine. Using System.security.allowDomain("*");
WORKS!
Now it gets tricky...
REQ3- Loading my AS2 application from
http://www.my.com into a self made AS2 Component and into a project on my local machine.
DOES NOT WORK... not even with System.security.allowDomain("*"); within the Component nor within the flash movie where the component will live.
Code:
*** Security Sandbox Violation ***
Connection to file:///C|/Users/me/Desktop/xyz/component/ halted
- not permitted from http://www.xyz.com/xyz/xyz.swf
-- Remote SWFs may not access local files.
Has anyone run into this problem?
Maybe it is an issue within my component? If i can get REQ2 to work, I am a little puzzled on to why REQ3 does not. Any help would be fantastic!
Thanks,
Sightstorm
"In the game of chess you can never let your adversary see your pieces."
REQ3 - needed what I had already tried. System.security.allowDomain("*"); I'm still recieving the sanbox violation error but hopefully whoever is consuming my application doesn't care. To finish solving my problem I had some variable typos I needed to address. Hope this helps someone in the future. Good luck