Thanks guys!
This was the correct solution:
// three items in the combobox
 // the last item in the myprofile array contains the string var.
 for (i=0; i<3; i++) {
  var thematch = dialect.dialect.getItemAt(i);
  if (thematch.label==myprofile[myprofile.length-1]) {
   dialect.dialect.selectedIndex=i;
  }
 }
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to