Groups | Blog | Home
all groups > flash actionscript > june 2006 >

flash actionscript : usage of selectedIndex for combo box


8kb
6/13/2006 8:56:03 PM
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!
8kb
6/13/2006 9:02:47 PM
Problem solved.

AddThis Social Bookmark Button