try specifying a random protocol name and get your servlet to interpret
that. its just a guess but it mighyt work as rtmpt and rtmp can be used over
port 80

On 18 Apr 2007 02:29:02 -0700, Matt <[EMAIL PROTECTED]> wrote:

  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 a 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
')
(this hits a Servlet, but references the file...also, I've tried
placing the crossdomain.xml file in the root of the server as well and
I get the exact same result) 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.

I posted on the Flex forums at Adobe, but I never got any response and
heard you guys were much more knowledgeable, so I hoped you could help. :)

Thanks




--
j:pn
http://www.lennel.org

Reply via email to