3 Replies Latest reply on Aug 19, 2010 9:38 AM by Bogdan Manate

    Problem with socket cross domain

    IlyaG Level 1

      Hi guys,


      This is my cross domain file:


      <?xml version="1.0"?>
      <!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
      <!-- Policy file for xmlsocket://socks.example.com -->
         <site-control permitted-cross-domain-policies="*"/>
         <allow-access-from domain="localhost" to-ports="80" />


      I am placing it in my server.


      From flex i am running this:

      Security.loadPolicyFile("my server address");


      And yet I am getting this event:

      SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048"


      What can I do?