Try this: http://blogs.adobe.com/aharui/2008/01/selecteditem_and_combobox.html
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Tuesday, May 27, 2008 9:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] combobox set selecteditem I've seen a half dozen solutions to this on the internet but somehow they don't work. Basically I just want to set the selectedItem of a combobox: <mx:Combobox id="comboboxID" dataprovider="{httpserv.lastresult.system.data}"/> // actionscript which won't work comboboxID.selectedItem = "something"; So then I tried to loop through the comboboxID.dataprovider to find the index for "something" but it won't ever give me the dataprovider strings, instead giving me errors like this: warning: unable to bind to property 'name' on class 'String' (class is not an IEventDispatcher) How can I get this working? Thanks.