4 Replies Latest reply on Apr 29, 2011 8:17 AM by Drew747

    Flex - Security Sandbox violation - ERROR#2048

    Stere0

      Man this is annoying.

      So if i put -http://xxx.xx.xx.x/website/website.html and try to use an HTTPService with in the swf to contact -https://yyy.yy.yy.y/resources/script, I get the sandbox error. If I put -https://yyy.yy.yy.y/crossdomain.xml in the browser and access it everything in the crossdomain file looks fine. When i go back and try to use the HTTPService from -http://xxx.xx.xx.x/website/website.html everything now 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>

      *Action Script*

      Security.loadPolicyFile("https://172.22.50.5/crossdomain.xml");