I have an swf hosted on let’s say http://www.domain.com. I want to allow it to access my localhost. So in the root of my localhost, I’ve placed the crossdomain.xml file:
<!DOCTYPE cross-domain-policy SYSTEM “http://www.adobe.com/xml/dtds/cross-domain-policy.dtd”>
<allow-access-from domain="*" />
I can access it through http://127.0.0.1/crossdomain.xml. In firebug I see that the swf is making the request for it and the status is 200 OK. Still the flash player throws the "Error #2048: Security sandbox violation: http://www.domain.com/theflash.swf cannot load data from http://127.0.0.1/somescript." What can be wrong? I don’t know what else to try. I did a lot of searching about this issue, all the relevant information i found was about the crossdomain.xml file, and I think I got that one right.
Thank you and have a nice day!