In MXML, you might have

 

<mx:Label id="lbl" text="{cb.selectedItem.projectname}" />

<mx:ComboBox id="cb" .... />

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Cathal
Sent: Monday, July 21, 2008 3:40 PM
To: flexcoders@yahoogroups.com
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 flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Tyr binding the label to the combobox's selectedItem.projectname
> 

 

Reply via email to