# \_root timeline gotoAndStop

**URL:** <https://forum.kirupa.com/t/-root-timeline-gotoandstop/176974>\
**Category:** flash\
**Created:** [January 28, 2006, 6:52pm UTC](https://forum.kirupa.com/t/-root-timeline-gotoandstop/176974 "2006-01-28T18:52:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirksmith](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@dirksmith](https://forum.kirupa.com/u/dirksmith)\
**Post date:** [January 28, 2006, 6:52pm UTC](https://forum.kirupa.com/t/-root-timeline-gotoandstop/176974/1 "2006-01-28T18:52:20Z")

</div>

Hi

I’m having problems getting a movie clip button on the main timeline to tell the main timeline to gotoAndStop a label when clicked.

This shoulbe be straight forward.

The script is below - any ideas on what the issue is?

Thanx

Dirk

on (press) {  
//Start Dragging Movieclip Behavior  
startDrag(this, false, 168, 224, 564, 476);  
this.swapDepths(this.\_parent.getNextHighestDepth());  
n=this.getDepth();  
\_root.introBox.swapDepths(n+1);  
//End Behavior

}  
on (release) {  
if(getTimer()-lastClick \< 500){  
[COLOR=red]\_root.gotoAndStop(“nointro”);  
[/COLOR] loadMovieNum(“[http://www.dirksmith.com/flash\_2/port\_allianz.swf](http://www.dirksmith.com/flash_2/port_allianz.swf)”,50);  
}  
lastClick=getTimer();  
stopDrag();  
[COLOR=red][/COLOR]  
}  
on (rollOut) {  
stopDrag();

}
