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]>:
Hel
*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 list
Sounds like you want to wrap the variable(s) in a class and have that class
broadcast events that your components can listen for and react to.
I haven't gotten to the chapter yet, but I think Moock's Essential
Actionscript 2.0 describes it in Chapter 352 (Observer Design Pattern)
Alternatively,
Object.watch();
Jason Merrill
Bank of America
Learning Technology Solutions
>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Mike Anderson
>>Sent: Friday, May 26, 2006 2:22 PM
>>To: Flashcoders mailing list
>>Subject: [Flash
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 varia
5 matches
Mail list logo