# Loading movies help?

**URL:** <https://forum.kirupa.com/t/loading-movies-help/32384>\
**Category:** flash\
**Created:** [October 6, 2003, 6:37am UTC](https://forum.kirupa.com/t/loading-movies-help/32384 "2003-10-06T06:37:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![2funzone](https://avatars.discourse-cdn.com/v4/letter/2/f14d63/32.png) [@2funzone](https://forum.kirupa.com/u/2funzone)\
**Post date:** [October 6, 2003, 6:37am UTC](https://forum.kirupa.com/t/loading-movies-help/32384/1 "2003-10-06T06:37:50Z")

</div>

Flash MX – I am working on a file where I am loading several different movies. When it loads, the user clicks on button 1 and sees movie 1, clicks “back” and goes to the main animation; clicks button 2 and watches movie 2, etc.

OK, it works, but I need to find a way when the user clicks the “back” button to go to the end of the main animation, not watch it from the beginning. Is there a way I can do that?

For the “back” button I use:

on (release) {  
loadMovieNum(“intro.swf”, 3);  
}

I tried:

On frame 1 of the main movie:

firstTime=true;

And in the intro movie I added this action:

\_root.firstTime=false;

On the first frame of the intro movie:

if (\_root.firstFrame==false) {  
gotoAndPlay(“end”);  
}

But for some reason it’s not working. What am I doing wrong? Here is the original file:  
[http://www.2funzone.com/intro.fla](http://www.2funzone.com/intro.fla)
