8 Replies Latest reply on Oct 22, 2010 2:31 PM by Flex harUI

    Sandbox violation when accessing sockets

    Zolotoj Level 3

      Here is my code:

      flex:

      Security.loadPolicyFile("http://localhost/ufd/crossdomain.xml");

       

      crossdomain.xml

      <?xml version="1.0"?>

      <cross-domain-policy>

      <allow-access-from domain="http://localhost"/>

      <allow-http-request-headers-from domain="192.168.1.12/ufd" headers="Authorization"/>

      </cross-domain-policy>

      I am getting an error connecting to a socket that runs on 92.168.1.12
      Please help.