..how to combine:

function loadXML(dfile:String):void
{
   urlLoader.load(new URLRequest(dfile));
   urlLoader.addEventListener(Event.COMPLETE, parseXML);
}

function parseXML(e:Event):void
{
   xmlFile:new XML(e.target.data);
   totalBars = xmlFile.children().length();
}


My goal is to send the first function additional parameters that would be used 
in additonal function calls.... right now I do not see how to send those on to 
parseXML.... my thought was if there was a way to combine these two functions - 
it would be easier....

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to