From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Cathal
Sent: Saturday, July 26, 2008 3:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing parameter to component
Hi,
I'm trying to pass the selected item on a combo box in one
and then to something else
later as the binding expression becomes valid
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Cathal
Sent: Saturday, July 26, 2008 3:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing parameter
Hi,
I'm trying to pass the selected item on a combo box in one component
to another component.
If i bind it to a label it works fine,
code:
mx:Label text={headerComp.cbProject.selectedItem.projectname} /
but passing it into another component it doesn't work.
code:
comp:home
[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
and also on any chnage, I've tryed with selectedItem and
selectedIndex but with no luck. Any suggestions is appreciated.
Kind Regards,
Cathal O'Brien
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, Alex Harui [EMAIL PROTECTED] wrote:
Tyr binding the label to the combobox's
6 matches
Mail list logo