Can you set a private var other functions can use?
-- 
Kenneth Kawamoto
http://www.materiaprima.co.uk/

On 26 February 2010 14:24, Lehr, Theodore <ted_l...@federal.dell.com> wrote:
> ..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