|
<mx:Label text="{foo}" />
[Bindable]
public var foo:String = "sup";
foo = "cheese";
public function get moo():String
{
return __moo;
}
public function set
moo(val:String):void
{
__moo = val;
runUpdateFunc();
}
<mx:Binding source="{foo}" destination="moo"
/>
A few ways.
----- Original Message -----
From: hank williams
Sent: Monday, July 10, 2006 9:49 PM
Subject: [flexcoders] can you set a function to trigger when a
variable changes? I am thinking this could be tied into the binding mechanism since this is a subset of what binding does. Any insight greatly appreciated. Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [flexcoders] can you set a function to trigger when a variab... hank williams
- [flexcoders] Re: can you set a function to trigger when... Tim Hoff
- Re: [flexcoders] Re: can you set a function to trig... hank williams
- Re: [flexcoders] can you set a function to trigger when... JesterXL
- Re: [flexcoders] can you set a function to trigger ... hank williams
- Re: [flexcoders] can you set a function to trigger when... Jeremy Lu

