# Combining loadMovieNum and gotoAndPlay

**URL:** <https://forum.kirupa.com/t/combining-loadmovienum-and-gotoandplay/158956>\
**Category:** flash\
**Created:** [August 13, 2005, 3:44am UTC](https://forum.kirupa.com/t/combining-loadmovienum-and-gotoandplay/158956 "2005-08-13T03:44:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aenie09](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@aenie09](https://forum.kirupa.com/u/aenie09)\
**Post date:** [August 13, 2005, 3:44am UTC](https://forum.kirupa.com/t/combining-loadmovienum-and-gotoandplay/158956/1 "2005-08-13T03:44:12Z")

</div>

Hi everyone,

I need help here.  
I have two movies. The first one has a button that, when clicked on, loads the second movie using loadMovieNum. I’m want to be able to jump to a specific frame (i.e. 177) in the second movie when I click the button in the first movie.

How is this done?

Right now, I’m using the script below to load the second movie:  
But it don’t really work.

theButtonMc.onRelease = function(){  
stop();  
this.loadMovieNum(“Movie2.swf”, 0);  
this.onEnterFrame = function(){  
if(this.\_framesloaded\>=this.\_totalframes){  
this.gotoAndStop(125)  
}  
}  
}  
Please HELPPP!!!
