I\'m getting a very annoying run time error message, which crashes my flash application when it runs in the browser. The error pertains to a \'Security Sandbox Violation\' when
You need to specify a crossdomain.xml
policy-file according to Adobe Flash security rules.
1) Place the crossdomain.xml
at the root directory of your website
2) Example content (not recommended)
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
3) Load the policy-file into your project (AS3):
System.security.loadPolicyFile("http://www.DOMAIN.net/crossdomain.xml");
Read the reference document for further information.