Cross Domain Policy File


I have a SWF that tries to connect to a Server and transfer text using XML-RPC. When running the application in Adobe CS4 Professional work space, it runs fine.
When executing the SWF file, I get an error: Adobe Flash Player Security - “Adobe flash player has stopped a potentially unsafe operation”.

I can press the Settings button and solve the problem manually, but I’d like to know how this can be solved automatically.

I have read about cross domain policy files… So I created a generic XML that allows access from all the domains (*), and placed it on the root of my server. Moreover, I called the loadPolicyFile method from my code.

This security message still appears… I don’t know what to do… :frowning: