I am trying to get a button to take an action based on the selected value in a combobox. I have a movieclip named sound_mc that has named keyframes. I have a combobox named arrival that has values that match the named keyframes in sound_mc. Does this make sense? It is not working… Am I missing something obvious?
on (press) {
switch (arrival.value) {
case XXX:
sound_mc.gotoAndStop(arrival.value);
break;
case ATL:
sound_mc.gotoAndStop(arrival.value);
break;
}
}
Thanks