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. 

Reply via email to