Hi guys,

I know in mxml you can do data binding like this:

<mx:Button label="{formatLabel(someBindableTextField)}" />

where any time the bindable property "someBindableTextField" changes,
the binding fires, and the label is replaced with the result of the
function.

This is even more powerful if the function parameters has two bindable
properties. When either one changes, the function executes, and the
label is updated.

How can this be achieved in ActionScript?

I have used the ChangeWatcher, and the BindingUtils classes but don't
see a simple solution.

thanks for any ideas =)
Thunder







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to