In MXML, you might have
<mx:Label id="lbl" text="{cb.selectedItem.projectname}" />
<mx:ComboBox id="cb" .... />
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Cathal
Sent: Monday, July 21, 2008 3:40 PM
To: [email protected]
Subject: [flexcoders] Re: Populate label with item from combobox
Hi Alex,
How do I achieve this?
I've tryed doing lbl.text = selectedItem.projectname but I beleave
this needs an event first, no? Any suggestions?
Thanks,
Cathal
--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Tyr binding the label to the combobox's selectedItem.projectname
>