1
I am creating an application in flex (AS3), where I need to get information from an external url. However when using Urlloader the error occurs:
"Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox Violation:"
My code:
sUrlListas = "https://www.us8.api.mailchimp.com/2.0/lists/members.json?apikey=XXXXX&id=XXX;
urlLoader2 = new URLLoader();
urlLoader2.load(new URLRequest(sUrlListas));
My crossdomain:
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
<allow-access-from domain="*" secure="false" to-ports="*"/>
</cross-domain-policy>
Crossdomain of them:
<cross-domain-policy>
<allow-access-from domain="*"/>
</cross-domain-policy>
I run this application on localhost. I’ve read a lot about the crossdomain problem, but it doesn’t seem to be exactly this problem.
Could someone help?