Good old Error #2048: Security sandbox violation

Hi,

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:

<?xml version=“1.0”?>
<!DOCTYPE cross-domain-policy SYSTEM “http://www.adobe.com/xml/dtds/cross-domain-policy.dtd”>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>

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!