So, if I put - http: //xxx.xx.xx.x/website/website.html and try to use HTTPService, in swf for contact - https: //yyy.yy.yy.y/resources/script , I I get an error in the sandbox. If I put - https: //yyy.yy.yy.y/crossdomain.xml in the browser and access to it, everything in the crossdomain file looks fine. wWen I will go back and try to use the HTTPService from http: //xxx.xx.xx.x/website/website.html everything works until I close the browser, which I assume clears the cache.
******** crossdomain.xml *********
<?xml version="1.0" ?> <cross-domain-policy> <site-control permitted-cross-domain-policies="master-only"/> <allow-access-from domain="*"/> <allow-http-request-headers-from domain="*" headers="*"/> </cross-domain-policy>
******** Script Action *************
Security.loadPolicyFile("https://xxx.xx.xx.x/crossdomain.xml");
source share