Question
Combo Boxes reseting in Actionscript
I have created a menu for an online café. The display area is limited, so the menu items need to scroll within a frame of some sort.
The menu items come in various sizes for example “small”, “medium”, “large”.
Each size has a different cost.
For example “Cappuccino” has “Cappuccino Small”, “Cappuccino Medium”, “Cappuccino Large” with prices say “3.00”, “6.00”, “9.00”.
I have set up a Combo box to display each menu item.
This is all explained under the ActionScript 2.0 category, but I have been advised I have submitted it in the wrong place. So I’m now inserting it here. I have left out the Combo box code included in the other entry.
I have a number of problems (see other entry under ActionScript 2)
Here is problem one again, I’ve tried a number of solutions, this one looked more promising.
Problem1
How does one reset the ComboBox to the “Home” position using ActionScript (CS3)? I tried using “myCappuccinoBox.setSelectedIndex(0);” with button Click. Among a variety of other attempts this seemed the most likely solution, but still gave an error “call to undefined method through a reference with static type fl.controls.ComboBox”. Do I have to add some other access statement e.g. “fl.controls.?????”. Does someone know how to reset my menu items?