# \_root and Timeline Control

**URL:** https://forum.kirupa.com/t/-root-and-timeline-control/191629
**Category:** flash
**Created:** [June 21, 2006, 9:25pm UTC](https://forum.kirupa.com/t/-root-and-timeline-control/191629 "2006-06-21T21:25:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Russ311](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/russ311/32/328_2.png) [@Russ311](https://forum.kirupa.com/u/Russ311)
#### Post date: [June 21, 2006, 9:25pm UTC](https://forum.kirupa.com/t/-root-and-timeline-control/191629/1 "2006-06-21T21:25:09Z")

</div>

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:

```auto
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:

```auto
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](Http://www.union.ksu.edu/tutorialHelp.fla)
