[flexcoders] Re: I've got a [Bindable] boolean var - can I setup a eventlistener on it?

2009-11-23 Thread turbo_vb
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

Re: [flexcoders] Re: I've got a [Bindable] boolean var - can I setup a eventlistener on it?

2009-11-23 Thread Ninh Hieu
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

[flexcoders] Re: I've got a [Bindable] boolean var - can I setup a eventlistener on it?

2009-11-20 Thread jamesfin
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