# Button in movieclip not working

**URL:** https://forum.kirupa.com/t/button-in-movieclip-not-working/38153
**Category:** Uncategorized
**Created:** [December 18, 2003, 10:02pm UTC](https://forum.kirupa.com/t/button-in-movieclip-not-working/38153 "2003-12-18T22:02:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pipspeak](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@pipspeak](https://forum.kirupa.com/u/pipspeak)
#### Post date: [December 18, 2003, 10:02pm UTC](https://forum.kirupa.com/t/button-in-movieclip-not-working/38153/1 "2003-12-18T22:02:50Z")

</div>

I have a button within a movie clip that I want to use to move to the next scene on the main timeline but I can’t get it to work. The stop all sounds works, but the goto does not.

[AS]  
on (release) {  
stopAllSounds();  
\_root.gotoAndPlay(“Scene 4”, 1);  
}  
[/AS]

Any suggestions? I trawled through this board’s archives and from what i found, it should work.

Incidentally, what is the best, cleanest and simplest way to stop a movie clip playing at a given frame? Can you simply use:

\_root.MovieClip.stop ();

Cheers
