"James Fee" <jfee@vikinges.com> wrote in message
news:cpmrqj$4d4$1@forums.macromedia.com...
> Flash is looking for a crossdomain.xml file on the
socketserver.mydomain.com
> port 80 served as a web request (it actually does a get looking for
> socketserver.mydomain.com/crossdomain.xml)
>
> --
> Jim Fee
> Viking Electronic Services
> jfee (at) vikinges (dot) com
>
>
> "foutuguy" <webforumsuser@macromedia.com> wrote in message
> news:cpmcto$gm3$1@forums.macromedia.com...
> > Here is what I am trying to do:
> > I have a XML socket server where I want to connect with a simple flash
> > client
> > (one frame) on port 50000. When I connect to the server, I display the
> > data
> > received. I put also the line system.security.loadPolicyFile("url of the
> > policy
> > file"); Nothing else.
> >
> > It works fine when i execute the swf locally but when i upload it on the
> > website, it can't connect to the xml socket server.
> > the policy file is accessible from any browser, I tried it.
> >
> > Anybody has an idea on where could be the problem? Is there a way to
debug
> > that? I did not see any variable feedback for loadPolicyFile. How to
check
> > that
> > the policy file has been correctly loaded?
> >
> > The code looks like this :
> > // let's say the socket server is at socketserver.mydomain.com on port
> > 50000
> > // my flash file is at
http://subdomain.anotherdomain.com/folder/file.swf > > // the policy file'url is
http://socketserver.mydomain.com/policy.xml and
> > looks like this :
> > // <cross-domain-policy>
> > // <allow-access-from domain="http://subdomain.anotherdomain.com"
> > to-ports="50000" />
> > // </cross-domain-policy>
> >
> > // load the security policy file
> >