We try to communicate with a webserver via a flash.net.socket. For that we implemented our own HTTPService class. We could not use the HTTPService class from Flash/ Flex, because we need the responseUrl from the response.
The problem is that the Flash Sandbox tries to load the crossdomain.xml with the request “<policy-file-request/>”, but the webserver can only handle HTTP requests.
Is there a possibility to load the crossdomain.xml with HTTP via the socket? Could we force the socket to be a HTTP socket? Or how could we use a HTTP low level socket class were we have access to the response header? This was possible in AS2 with HTTPStatusEvent -> but not possible in AS3.
thanks for help
I'm not the expert in this area. I asked around and the answer I got is that it isn't an AS issue as much as a player issue. Newer players have tighter security and probably won't allow what you want to do.