Greetings wise and powerful coders,
Here is my issue:
I have a combobox(component) with instance name of "my_cb" in flash actionscript 2.0 with the following:
frame actionscript:
//combobox list
my_cb.addItem({ label:"Select Your Work Place"});
my_cb.addItem({data:pink, label:"SPP"});
my_cb.addItem({data:blue, label:"stages"});
//////
function pinkEvac() {
if (my_cb.selectedItem.data == pink)
gotoAndStop("pink");
}
///////////////
function blueEvac() {
if (my_cb.selectedItem.data == blue)
gotoAndStop("blue");
}
my_cb.addEventListener("change", pinkEvac);
my_cb.addEventListener("change", blueEvac);
When I try to change the selected Item under the combobox to something else, for example select "stage", the play-head does not go to the specified frame. It just flickers and stays in the same frame that it was originally sent to.
Help is very much appreciated, thanks everyone.
-Jake