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 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 a
specific variable changes.  It would be nice to just have ONE function,
that propagates all the changes to all my controls, and then have an
active listener applied to a variable which automatically triggers that
specific function.

Am I overlooking something, or is there a better way to do something
like this?

Thank you all in advance, for any suggestions you can throw my way.

Mike





_______________________________________________
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