Combining loadMovieNum and gotoAndPlay

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!!!