Even easier, would be to change the var to a getter/setter, and execute the
function in the setter.
-TH
--- In flexcoders@yahoogroups.com, "Christopher McArthur" wrote:
>
> assuming your in the same class as changeme:
>
> private var changemeWatcher:ChangeWatcher;
>
> this.changemeWatcher = C
In this situation, the easiest way is using ChangeWatcher.watch function to
watch that variable.
--- On Sat, 11/21/09, jamesfin wrote:
From: jamesfin
Subject: [flexcoders] Re: I've got a [Bindable] boolean var - can I setup a
eventlistener on it?
To: flexcoders@yahoogroups.com
This should get you on your way...
http://livedocs.adobe.com/flex/3/html/help.html?content=databinding_4.html
--- In flexcoders@yahoogroups.com, "luvfotography" wrote:
>
> I've declared a [Bindable] private var changeme:Boolean;
>
> Is there a way to execute a function whenever this var chan
3 matches
Mail list logo