Re: [Flashcoders] Can Variables have listeners?

2006-05-26 Thread eka
Hello :) open Flash help (F1) and search in the actionscript dictionnary Object.watch and Object.unwatch :) EKA+ :) 2006/5/26, Mike Anderson [EMAIL PROTECTED]: Hello All, I have a ton of components scattered throughout my application, and most of them react to changes of a specific

RE: [Flashcoders] Can Variables have listeners?

2006-05-26 Thread Merrill, Jason
Variables have listeners? Hello All, I have a ton of components scattered throughout my application, and most of them react to changes of a specific variable. It's getting really old, having to manually write code - that updates all these controls with the new value of a specific variable, when

RE: [Flashcoders] Can Variables have listeners?

2006-05-26 Thread phaedrus
, you might do it by using mx.events.EventDispatcher in your wrapper class. - phaedrus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, May 26, 2006 1:22 PM To: Flashcoders mailing list Subject: [Flashcoders] Can Variables have

RE: [Flashcoders] Can Variables have listeners?

2006-05-26 Thread phaedrus
*heh* Didn't know that existed. Much simpler than my recommendation. - phaedrus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Friday, May 26, 2006 1:55 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Can Variables have listeners

Re: [Flashcoders] Can Variables have listeners?

2006-05-26 Thread Kevin Newman
You might also look into mx.events.EventDispatcher (and to avoid scoping issues, mx.utils.Delegate). Kevin N. eka wrote: Hello :) open Flash help (F1) and search in the actionscript dictionnary Object.watch and Object.unwatch :) EKA+ :) 2006/5/26, Mike Anderson [EMAIL PROTECTED]: Hello