# Question about gotoAndPlay function within a movie clip

**URL:** <https://forum.kirupa.com/t/question-about-gotoandplay-function-within-a-movie-clip/144897>\
**Category:** Uncategorized\
**Created:** [April 18, 2005, 11:01am UTC](https://forum.kirupa.com/t/question-about-gotoandplay-function-within-a-movie-clip/144897 "2005-04-18T11:01:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unit9](https://avatars.discourse-cdn.com/v4/letter/u/c77e96/32.png) [@Unit9](https://forum.kirupa.com/u/Unit9)\
**Post date:** [April 18, 2005, 11:01am UTC](https://forum.kirupa.com/t/question-about-gotoandplay-function-within-a-movie-clip/144897/1 "2005-04-18T11:01:38Z")

</div>

I’ve got a seperate SWF movie that is loaded within my main movie

loadMovieNum (“menu.swf”, 9);

And I want to have a ‘back’ button within that seperate SWF that goes back to the start of my movie.

Anyway, when I try creating a button with this code:

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

It doesn’t work.

Can anybody tell me why?

Cheers. 😃
