# Button within movie clip only playing one frame

**URL:** https://forum.kirupa.com/t/button-within-movie-clip-only-playing-one-frame/213531
**Category:** Uncategorized
**Created:** [January 20, 2007, 2:46pm UTC](https://forum.kirupa.com/t/button-within-movie-clip-only-playing-one-frame/213531 "2007-01-20T14:46:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tristan888](https://avatars.discourse-cdn.com/v4/letter/t/ebca7d/32.png) [@tristan888](https://forum.kirupa.com/u/tristan888)
#### Post date: [January 20, 2007, 2:46pm UTC](https://forum.kirupa.com/t/button-within-movie-clip-only-playing-one-frame/213531/1 "2007-01-20T14:46:47Z")

</div>

Hi,

I have a button within a movie clip which has the following code:

on(release)  
{  
\_root.gotoAndPlay(2);  
}

However, it only plays the second frame on the main timeline and not the following ones. (There is no “stop();” command on this frame in my actions layer).

Why is this?
