Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello! I have a flash object(AS3) which is supposed to load an xml file containing a list of images and then load them. On my computer in Flash CS5.5 it works perfectly but when I upload it to my site it won't even load the xml.

The xml and images are loaded like
C#
var xmlFilePath:String = "http://mysite.ro/folder/file.xml";

var loader = new URLLoader();
loader.load(new URLRequest(xmlFilePath));
loader.addEventListener(Event.COMPLETE, xmlLoaded);


but xmlLoaded is never called when I access my flash object through my site.

Note: I've added crossdomain.xml to the root of my site with <allow-access-from domain="*" /> (for testing purposes) and still not working.

What can I do to make it work?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900