PDA

View Full Version : Combobox Help


gsinibaldi
07-22-2008, 04:27 AM
Hi,

I have a combobox with 4 items. I'd like my time line to go to the proper frame when a particular selection is made.

My code:


if(myComboBox.value == 3){
gotoAndStop("correct")
}else{
gotoAndStop("incorrect")
}


This works but how do I make it wait for user input? It automatically goes to the incorrect frame rather than waiting for the user to select something.

Any ideas?

Thanks

greg