5 Replies Latest reply on Apr 17, 2007 8:17 AM by darkfrog26

    Flex Socket on port 80?

    darkfrog26
      I am trying to use ActionScript (in Flex) to communicate back to the HTTP server that the SWF was loaded from on port 80 using Socket. If my server is running from port 8080 everything works fine, but when it's on port 80 I get a sandbox violation.

      I'm calling Security.loadPolicy(' http://localhost/jseamless-test/?application=basic&resource=crossdomain.xml') and I can verify it is actually loading the XML file from the server, but I still get the sandbox violation.

      My cross-domain file looks like this:

      <?xml version="1.0"?>
      <cross-domain-policy>
      <allow-access-from domain="*" to-ports="*"/>
      </cross-domain-policy>

      What am I missing here? I must be able to connect to port 80 for this application and can't seem to get around the sandbox no matter what I do. Help would be extremely appreciated.

      Thanks
      (sorry for the duplicate post in ActionScript 3 but I was afraid nobody visits that forum)