PDA

View Full Version : Combo Box?


enigma
07-19-2006, 03:21 AM
I have a combo box on my main stage. It is working great - but there is one problem I am having that I am not sure how to go about coding.

Let's say the combo box has three colors to choose from

I also have buttons with the same colors to choose from.

Both the combo box and the buttons have the same function

I want when a button is rolled over( either the color red, green, or yellow) the combo box changes the name in the drop down to according to the button rolled over

Flash Gordon
07-19-2006, 04:19 AM
my guess would to be delete then addItem() to the combo box with each rollOver. It should be pretty simple.

Welcome to AS[org]
:)

enigma
07-19-2006, 06:10 AM
Actually it is apache_13 but I took your advice and started fresh because of the Google thing :)

My problem is how would I script it? I know the code below wont work. I have tried a bunch of others.

myComboBox.value == "WHITE"