# Preloader on loaded movie

**URL:** <https://forum.kirupa.com/t/preloader-on-loaded-movie/10624>\
**Category:** flash\
**Created:** [January 4, 2003, 2:29pm UTC](https://forum.kirupa.com/t/preloader-on-loaded-movie/10624 "2003-01-04T14:29:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pjc4real](https://avatars.discourse-cdn.com/v4/letter/p/58f4c7/32.png) [@Pjc4real](https://forum.kirupa.com/u/Pjc4real)\
**Post date:** [January 4, 2003, 2:29pm UTC](https://forum.kirupa.com/t/preloader-on-loaded-movie/10624/1 "2003-01-04T14:29:37Z")

</div>

Hey gusys! I have a question…

On my main movie, like most, I am using the loadMovieNum code to load in separate swfs on different levels.

In each separate swf, I hav a preloader scene, which, when tested (ctrl+enter) works fine (using the 56k bandwidth profiler).

HOWEVER -when I test the whole movie together, when it comes to loading the swfs, it seems to bypass the preloader - I just get a quick glimpse of it.

Is this because the files are loaded fast on my HD (hence will solve itself when uploaded), or do I need to make some amendments to my code?

PRELOADER CODE:

\>Preloader scene

**FRAME 1:**

percent = Math.floor(getBytesLoaded()/getBytesTotal()\*100);  
myOutput.text = percent+"%";

**Frame 2:**

if (percent == 100) {  
gotoAndStop(“main”, 3);  
} else {  
gotoAndPlay(1);  
}

---

<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:** [January 4, 2003, 2:33pm UTC](https://forum.kirupa.com/t/preloader-on-loaded-movie/10624/2 "2003-01-04T14:33:32Z")

</div>

Yeah chances are it’s loaded really fast since it’s on your HD, test it out by uploading the main movie and one of the external swf’s to a server and test it there. Same thing happened to me too when I tested locally on my comp, but when I uploaded it, everything works fine.

---

<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:** [January 4, 2003, 2:37pm UTC](https://forum.kirupa.com/t/preloader-on-loaded-movie/10624/3 "2003-01-04T14:37:08Z")

</div>

Hey EG -thnx 4 da reply - Im FEELIN ur new footer by the way!  
Thing is, I’ve just uploaded everything, but when I checked my site, it looked the same - just a brief glimpse of the preloader!! I have brodaband, so that maybe why… but I see preloaders on other sites!! I’ve also dleted my temp internet files as well - didnt help.

Would u mind checking it out for me and lettingme know if u can see it?

Its asmall percentage preloader, in the top 3rd of the screen (the top module if u like). Thanx.

[www.kre8tiv-i.co.uk](http://www.kre8tiv-i.co.uk)

---

<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:** [January 4, 2003, 2:40pm UTC](https://forum.kirupa.com/t/preloader-on-loaded-movie/10624/4 "2003-01-04T14:40:15Z")

</div>

I see it, but since you dont have much content on the site, theres not much to load. I have crappy dialup and I only saw it for maybe 2 seconds… of course thats a GREAT thing, so dont feel like you have to add a bunch of crp to make your preloader more prominent. 😉

---

<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:** [January 4, 2003, 2:41pm UTC](https://forum.kirupa.com/t/preloader-on-loaded-movie/10624/5 "2003-01-04T14:41:39Z")

</div>

I saw the preloader for about 1.5 seconds so I don’t think it’s a problem, you should be happy your site loads fast. hahah I’m on DSL so my connection isn’t too bad, but I did see it so it’s working.

Thanks for the comment on my footer, I like your layout as well, nice brushed metal look and very clean. Let me know when your site is done. =)

---

<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:** [January 4, 2003, 2:43pm UTC](https://forum.kirupa.com/t/preloader-on-loaded-movie/10624/6 "2003-01-04T14:43:57Z")

</div>

Oh great - at least its working!!! Thnx guys! Yeh, theres no content there yet… hopefully soon!! I’m just gonna ost in the SITE CHECK forum for a few comments on the layout - here goes!!!

C:-)

---

<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:** [January 4, 2003, 4:11pm UTC](https://forum.kirupa.com/t/preloader-on-loaded-movie/10624/7 "2003-01-04T16:11:23Z")

</div>

Also, when you test you’re movie, press Ctrl + Enter to get what it would look like on a really slow connection (don’t know the specifics, though…).

btw, electrongeek, you’re new site is awesome 🙂

---

<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:** [January 4, 2003, 5:29pm UTC](https://forum.kirupa.com/t/preloader-on-loaded-movie/10624/8 "2003-01-04T17:29:53Z")

</div>

It worked fine here man! =)

I have a ■■■■ slow connection, and it all worked fine!!

Nice sire too …so far =)
