You can access the user id like this:

Var sUserId:String = userSelect.selectedItem.userid;

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markflex2007
Sent: Monday, December 17, 2007 2:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] combobox value?

 

Hi,

I have a combobox like

<mx:ComboBox id="userSelect" dataProvider="{userList}" 
labelField="userName"/>

I have username and userID and I will send the userid to database.

which attribute in ComboBox I can use to save the userid value?

the userList is ArrayCollection and have username and userid.

Thanks

Mark

 

Reply via email to