Hi guys, Today I ran into a problem. I have started to move some functions from my main app into a new Worker.
So all worked fine in my main app, but getting data from my server isn't working anymore in the Worker. I am getting this error when debugging my application in FB 4.7: Error: Request for resource at http://www.mydomain.com/amfphp/index.php by requestor from file:///Users/marcus/Documents/workspace/myproject/bin/index.swf?version=1.0.0 is denied due to lack of policy file permissions. *** Security Sandbox Violation *** Connection to http://www.mydomain.com/amfphp/index.php halted - not permitted from file:///Users/marcus/Documents/workspace/myproject/bin/index.swf?version=1.0.0 Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048: Security sandbox violation: file:///Users/marcus/Documents/workspace/myproject/bin/index.swf?version=1.0.0 cannot load data from http://www.mydomain.com/amfphp/index.php. at workers::WorkerList/onMainToWorkerMessage()[/Users/marcus/Documents/workspace/marcus/src/workers/WorkerList.as:62] In the worker, I added: Security.allowDomain("*"); Security.allowDomain("localhost"); Security.allowDomain("*.mydomain.com", "*"); Security.loadPolicyFile("https://www.mydomain.com/crossdomain.xml"); Security.loadPolicyFile("http://www.mydomain.com/crossdomain.xml"); But nothing is working with the worker, when debugging my app. And I found this Adobe forum discussion: http://forums.adobe.com/thread/1061493?tstart=0 Any help is appreciated. Marcus Fritze
signature.asc
Description: Message signed with OpenPGP using GPGMail
