# Pre Loader troubles. Please help!

**URL:** <https://forum.kirupa.com/t/pre-loader-troubles-please-help/33571>\
**Category:** flash\
**Created:** [October 21, 2003, 6:17am UTC](https://forum.kirupa.com/t/pre-loader-troubles-please-help/33571 "2003-10-21T06:17:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ColdBeans](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@ColdBeans](https://forum.kirupa.com/u/ColdBeans)\
**Post date:** [October 21, 2003, 6:17am UTC](https://forum.kirupa.com/t/pre-loader-troubles-please-help/33571/1 "2003-10-21T06:17:55Z")

</div>

I’ve got a three scene movie, with the first scene dedicated to the pre loader and the rest of the scenes are parts one and two of the movie. For the pre loader I have a movie clip of a little character running in place while it says loading below and it’s just two layers, one frame. I want it to play that movie clip until the whole movie (all 3 scenes) are loaded, then I want it to go to the first frame of scene 3. My script looks like this:

if (\_framesloaded\>=\_totalframes) {  
gotoAndPlay(“scene 3”, 1);  
} else {  
stop();  
}

I checked for syntax error, but nothing came up. It just skips straight over the preloader and into the unloaded movie. I know Im messing it up. Can someone please help me?! Thank you so much!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 21, 2003, 6:22am UTC](https://forum.kirupa.com/t/pre-loader-troubles-please-help/33571/2 "2003-10-21T06:22:10Z")

</div>

do a search theres like 1000+ things on this

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 21, 2003, 7:03am UTC](https://forum.kirupa.com/t/pre-loader-troubles-please-help/33571/3 "2003-10-21T07:03:21Z")

</div>

okay, so I used the code:  
if (\_framesloaded\>=\_totalframes) {  
gotoAndPlay (“scene 3”, 1);  
} else {  
gotoAndPlay (1);  
}

but it skips right through and plays the unloaded movie. Is it because the “totalframes” is only for that particular scene? I put the preloader in the first scene, and the rest of the movie in two scenes below it.

Sorry for the trouble, but I need to get this working?
