If you want specifics or know where / how listbox handles its data, take a look at the dataprovider class (v1, v2), it will show you the way.
If you are after v2 components "how to", then its:
yourItem = myComboBox.selectedItem;
trace("You selected the item " + yourItem );Regards Scott Barnes http://macrofun.pvpers.com
Jason Bayly wrote:
Ok i think im on the right track with
menuMain.setSelectedIndex(3);
:))
"Jason Bayly" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Hi All
Making headway on my flash forms using CFC's etc. One quick question is, when doing an edit/update form how does one go about selecting (or defaulting to) an item in a dynamically populated combo box ? In cfml we evalauate the value when generating the select list and select the item
with
the correct value etc..
How is this achieved in actionscript ??
Cheers Jason
-- Scott Barnes http://macrofun.pvpers.com
--- You are currently subscribed to fugli as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
