I’m having some problems with controlling my movie clips.
I’ve got a .fla (flash8) file with a combo box and a submit button. I want the drop box
to hold the values of some frame names. On the submit the resutls frame just does a transition between the screens. On frame one there is this code:
function comboDisplay (component) {
combo = component.getSelectedItem().data;
_root.gotoAndStop("results");
trace ( combo );
}
// We assign the function to the combobox
nav.setChangeHandler ("comboDisplay") ;
onSubmit=function(){
comboDisplay (nav);
}
addListener(nav);
addListener(submit);
The Movie clip I’m using as a transition has an action to stop then go to the framename that is the same as the combo variable. like so:
stop();
_root.gotoAndStop(combo);
Is there something i need to do to read this as as a string or am I messing up the useage of _root? It wont go to the proper frame after the animation plays.
heres a link to a watered down version with only the barebones of the file.
Http://www.union.ksu.edu/tutorialHelp.fla