1 Reply Latest reply on Jun 2, 2010 5:40 AM by nishadmusthafa

    need some help with security sandbox stuff asap please

    cyber0897 Level 1

      hey guys... so im trying to do a swfLoader call to a swf on a server from my actionscript on my local machine, when i do that i get the security sandbox violation error.... i tried adding a crossdomain.xml file to the server that has the following code in it

       

      <cross-domain-policy>
           <site-control permitted-cross-domain-policies="master-only"/>
           <allow-access-from domain="*"/>
           <allow-http-request-headers-from domain="*" headers="SOAPAction"/>
      </cross-domain-policy>
      

       

      and in my actionscript on application initialize i do

       

      initialize="init(); Security.loadPolicyFile('http://myServer.com/crossdomain.xml')"
      

       

      i also do

       

      Security.allowDomain("http://myServer.com");
      

       


      any ideas???? oh and i also went to this website http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.ht ml and set the always allow trust locations to "/"

       

      any ideas on how i could possible fix this problem?? ive been trying to get around this problem for the last 2 days!!

       

      please help!!!!