Cross domain policy file problem

Hi all,

I’m accessing a server’s sockets from the flash client using Flash CS3 professional.

However, should I run it in debug mode OR run the .swf file, it doesn’t connect.

Fine, it’s the crossdomain.xml file.

I create and host this file using apache webserver, and it is accessible using firefox/ie.

loadPolicyFile seems to work, BUT IT DISCONNECTS IMMEDIATELY.

What am I doing wrong??

<cross-domain-policy>
<allow-access-from domain="" to-ports=“3300”/>
<allow-access-from domain="
" to-ports=“3333”/>
<allow-access-from domain=“127.0.0.1” to-ports=“3300”/>
<allow-access-from domain=“127.0.0.1” to-ports=“3333”/>
</cross-domain-policy>

Please help.

“Security sandbox violation cannot load data from 127.0.0.1:3333”