Hello,
I have java server using glassfish and I’m trying to connect it with flash app through xmlSocket connection (flash is on the same server). Locally it works fine, but when I try to connect by website, it disconnects because of security problem (error #2048).
I’ve read about it and many sources said that I need to send proper cross-domain file to flash if I want make socket connection. I saved it on the root, then in custom folder and tried to load it with Security.loadPolicyFile(“source”). Finally, I’ve made response on the server for flash request <policy-file-request> which sends back cross-domain xmlString, but there is still this security error.
Do you have any idea how to solve this? I’m currently out of options, so I’l be glad for any solutions…