in my flex app, i am gathering data to display from an XML file
private function loadXml():void {
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onXmlLoaded);
loader.load(new URLRequest("thefile.xml"));
}
this works just fine…but when I want the XML file to be generated through PHP (so changing the above file to thefile.php, it doesn’t work anymore.
and the issue is not in my PHP code as it properly outputs in XML format.
im guessing URLRequest & URLLoader arent meant for dynamic XML files?
any thoughts?