I'm 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 them:
<cross-domain-policy>
<allow-access-from domain="*"/>
</cross-domain-policy>
Run this application on localhost. I've read a lot about the problem being crossdomain, but it does not seem to be exactly this problem.
Could someone help?