Skip to main content
Participating Frequently
June 13, 2006
Question

usage of selectedIndex for combo box

  • June 13, 2006
  • 1 reply
  • 188 views
Hey,

I have problems using the selectedIndex function for my combo boxes.

I am simply trying to get the combo box to select the second item down the list


comboxBoxName.selectedIndex = 1;

trace( comboxBoxName.selectedIndex );


When I tried to trace the value it does return me a 1. But when i ran the flash movie the combo box does not show the second item down the list when it starts up. I am using flash payer 7 and the combo box name is unique.

Thanks for help!
This topic has been closed for replies.

1 reply

8kbAuthor
Participating Frequently
June 13, 2006
Problem solved.

its comboBoxName.setSelectedIndex ( index );