That's a negative...

Doing this...
this._xml.onLoad = Delegate.create(this, dataLoaded);
this._xml.load(file);

and then tracing in the dataLoaded function like this... the second trace still returns undefined.

populateArray(this._xml, this.xml_result);
trace(this.loaded);
this.loaded = true;
trace(this.loaded);


----- Original Message ----- From: "jord" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Wednesday, August 09, 2006 1:57 PM
Subject: Re: [Flashcoders] Why in the world my class is tracing false?!?!



Try setting your onLoad property before you execute the load() method.

jord

---------- Original Message ----------------------------------
From: "Michel Scoz" <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list <[email protected]>
Date:  Wed, 9 Aug 2006 13:36:12 -0300

Hi all... now i dont get it...
I have a class in AS2 that parses a XML and returns an array of it, but I
dont get why in this !@&¨%!@&¨%! it returns false when loaded!!





________________________________________________________________
Sent via the WebMail system at interactivityunlimited.com





_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to