think u can only using the <mx:Binding /> tags

or for an AS3 only option use event listeners/dispatchers?

don't think u can do binding programatically like u can in WPF (though 
Flex is alot easier when it comes to data binding :) ).

--- In [email protected], "tyombria" <[EMAIL PROTECTED]> wrote:
>
> Hi.
> How can I use data binding in as3 code, not in mxml?
> For example, in mxml:
> <Button enabled={someDataGrid.selectedItem} />
> 
> How can I rewrite it in as code:
> var b : Button = new Button();
> ....?
>






--
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/

<*> 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