Hey Gents, Im having the issue of functions firing too soon after each other and need to use listeners. But using what I thought was correct below is not working. The xmlData.addEventListener(Event.COMPLETE, initialize); should call the initialize function in this example, right?
function loadXML(e:Event):void
{
var xmlPure:XML = new XML(e.target.data);
xmlData = parseXML(xmlPure);
xmlData.addEventListener(Event.COMPLETE, initialize);
}