# gotoAndPlay in a buried Movie Clip

**URL:** <https://forum.kirupa.com/t/gotoandplay-in-a-buried-movie-clip/172322>\
**Category:** flash\
**Created:** [December 13, 2005, 10:52am UTC](https://forum.kirupa.com/t/gotoandplay-in-a-buried-movie-clip/172322 "2005-12-13T10:52:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aussie01](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@Aussie01](https://forum.kirupa.com/u/Aussie01)\
**Post date:** [December 13, 2005, 10:52am UTC](https://forum.kirupa.com/t/gotoandplay-in-a-buried-movie-clip/172322/1 "2005-12-13T10:52:11Z")

</div>

Hi,

I’ve got a ‘simple’ problem with some actionscript and movie clips.

I have a 1 frame movie with 2 Layers.

On Layer 1 I have a movie clip called **green1\_mc**.

In this movie clip I have another called **green2\_mc**.

This animation is 120 frames long, with a stop(); on frame 59.

On Layer 2 of the main timeline I have another movie clip called **green\_back**. This is my button. I’ve put the following code on the clip.

on (release){  
\_root.green2\_mc.gotoAndPlay(60);  
}

I want to get the movie clip on the main timeline to have the movie clip **green2\_mc** play frame 60. The code I’m using isn’t working. Can anyone help?

Cheers,
