I need to cause a combobox to programmatically change to display a selection 
matching a string variable. I am using the following code without results...

// three items in the combobox
 // the last item in the myprofile array contains the string var.
 for (i=0; i<3; i++) {
  if ((dialect.dialect.getItemAt(i)).label==myprofile[myprofile.length-1]) {
   fscommand("found match "+(dialect.dialect.getItemAt(i)).label)
// the correct string is found but the combobox does not change the displayed 
label to show that is has been set to the correct item...
   dialect.dialect.selectedItem(myprofile.length-1);
  }
 }

what am I missing here??
Thanks for any insights!
-Boyd
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to