cs4 URLLoader reset? xml question
I am very new to flash and trying to learn to read and parse XML files.
it seems to work really elegantly except I have an issue with what seems to be caching that makes it hard to check my work.
Code:
var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
xmlLoader.load(new URLRequest("http://www.somedomain.com/flashtest/list.xml"));
function LoadXML(e:Event):void {
xmlData = new XML(e.target.data);
trace(xmlData);
}
this works fine to load and trace the list.xml file on my server, however, if i edit list.xml, and then hit ctrl-enter to rerun the swf, the changes are not reflected in the program. in fact, i can delete list.xml off the server and it keeps tracing the the file that was originally loaded.
i have to actually close out my .fla file and reopen it to get it to update.
i am sure there is something silly i am missing but i have been messing with it for hours.
thanks for any help