The crossdomain.xml must be on www.lemonde.fr

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of thierrybertossa
Sent: Tuesday, May 08, 2007 11:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Security sandbox violation



I have a strange probleme with the security sandbox...

I can't load a rss feed when I put my project on my IIS (localhost)
I have tried:

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

In wwwroot
and in my project root...
and with 
Security.loadPolicyFile("../crossdomain.xml");
Security.loadPolicyFile("crossdomain.xml");

the error message is :
Error #2044: Unhandled securityError:. text=Error #2048: Security 
sandbox violation: http://localhost/RssNewsCalendar/RssNewsCalendar-
<http://localhost/RssNewsCalendar/RssNewsCalendar-> 
debug.swf cannot load data from 
http://www.lemonde.fr/rss/sequence/0,2-3224,1-0,0.xml.
<http://www.lemonde.fr/rss/sequence/0,2-3224,1-0,0.xml.> 

I don't understand what's wrong ?



 

Reply via email to