# How to tell the main timeline go to and play

**URL:** <https://forum.kirupa.com/t/how-to-tell-the-main-timeline-go-to-and-play/329498>\
**Category:** flash\
**Created:** [September 6, 2012, 3:27pm UTC](https://forum.kirupa.com/t/how-to-tell-the-main-timeline-go-to-and-play/329498 "2012-09-06T15:27:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DARK\_SPIRIT](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@DARK\_SPIRIT](https://forum.kirupa.com/u/DARK_SPIRIT)\
**Post date:** [September 6, 2012, 3:27pm UTC](https://forum.kirupa.com/t/how-to-tell-the-main-timeline-go-to-and-play/329498/1 "2012-09-06T15:27:45Z")

</div>

Hi.

I’ve in the main scene 2 layers one with button that fill all the stage and the other layer contain the movie clip.

In the movie clip I’ve a couple of buttons and I would like to give a command that if the cursor roll over on one of the buttons it’ll tell the main scene (timeline, not in the movie clip) go to and stop frame 2.

on (rollOut) {  
tellTarget (“my movie”) {  
gotoAndStop (1)  
}  
}  
on (rollOut) {  
\_root.gotoAndPlay(“Scene 1”, “2”);  
}

Could you please help me?

Thank you. :block:
