I still dont understand what happens that when I change a class attribute to true, and it traces false

Like I mentioned earlier...

And even if I check this class attribute in an EnterFrame event, it will trace as undefined forever

----- Original Message ----- From: "jord" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Wednesday, August 09, 2006 3:03 PM
Subject: Re: [Flashcoders] Why in the world my class is tracing false?!?!



Your watch() method is acting as an interceptor. You are actually checking for a value before it has actually been changed. It will not change until you return from
the watch command with a value of true.

You should be using a broadcaster/listener to monitor your parseXML object.

jord
---------- Original Message ----------------------------------
From: "Michel Scoz" <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com>
Date:  Wed, 9 Aug 2006 14:06:43 -0300

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" <flashcoders@chattyfig.figleaf.com>
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 <flashcoders@chattyfig.figleaf.com>
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





_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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






________________________________________________________________
Sent via the WebMail system at interactivityunlimited.com





_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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