# Preloader

**URL:** https://forum.kirupa.com/t/preloader/13053
**Category:** Uncategorized
**Created:** [February 8, 2003, 6:33am UTC](https://forum.kirupa.com/t/preloader/13053 "2003-02-08T06:33:44Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![anson](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@anson](https://forum.kirupa.com/u/anson)
#### Post date: [February 8, 2003, 6:33am UTC](https://forum.kirupa.com/t/preloader/13053/1 "2003-02-08T06:33:44Z")

</div>

I’m having an headache about my preloader won’t show anything (Load bar, Loaded %…etc.) until the movie is about 70 something % loaded.

I tried a severial methods, included the preloader tut in this site:  
[http://www.kirupa.com/developer/mx/percentage\_loader.asp and [URL=http://www.kirupa.com/developer/mx/preloader.asp]http://www.kirupa.com/developer/mx/preloader.asp](http://www.kirupa.com/developer/mx/percentage_loader.asp)  
but the results are the same…

Here’s my actionscript which I’m currently using for the preloader:

var loadAmount = \_totalframes;  
if (\_framesloaded == loadAmount) {  
gotoAndPlay(“beginMovie”);  
} else {  
loaded = Math.round(getBytesLoaded()/1024);  
total = Math.round(getBytesTotal()/1024);  
percent = Math.round((loaded/total)_100);  
bytesLoadedOutput = loaded;  
bytesTotalOutput = total;  
percentOutput = percent+"%";  
loadBar.\_width = loadBarHousing.\_width_(percent/100);  
gotoAndPlay(“loading”);  
}

It’s really frustrated if the preloader won’t be shown until the whole movie is almost completed loading… then the preloader would be pointless.  
Can anyone can help me to solve this problem??  
Thanks!!

---

<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: [February 8, 2003, 6:43am UTC](https://forum.kirupa.com/t/preloader/13053/2 "2003-02-08T06:43:35Z")

</div>

can you post your fla?

:: what type of preloader are you using, some sort of animation or a graphic? if either of these are intense, they will take time to load, maybe causing your preloader to show up late.

---

<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: [February 8, 2003, 6:52am UTC](https://forum.kirupa.com/t/preloader/13053/3 "2003-02-08T06:52:55Z")

</div>

A Loadbar, and some text fields for the Loadpercentage… that’s all I got for the preloader…no animation nor graphics at all!

---

<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: [February 8, 2003, 7:07am UTC](https://forum.kirupa.com/t/preloader/13053/4 "2003-02-08T07:07:53Z")

</div>

can u post a fla? be easier to c what the problem is.

---

<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: [February 8, 2003, 7:16am UTC](https://forum.kirupa.com/t/preloader/13053/5 "2003-02-08T07:16:06Z")

</div>

make sure that you have unselected the **export in first frame** option in the linkage properties of each movie clip or button …

that’s probably the problem … (-:

---

<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: [February 8, 2003, 7:34am UTC](https://forum.kirupa.com/t/preloader/13053/6 "2003-02-08T07:34:55Z")

</div>

Thanks Kax. I got it fixed now. You really made my day, I appreciated it!! =)

---

<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: [February 8, 2003, 7:40am UTC](https://forum.kirupa.com/t/preloader/13053/7 "2003-02-08T07:40:47Z")

</div>

anytime **anson** 😉

---

<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: [February 14, 2003, 9:42am UTC](https://forum.kirupa.com/t/preloader/13053/8 "2003-02-14T09:42:39Z")

</div>

Can someone explain more about fixing this problem? I don’t understand how to fix it. My preloader won’t work until about 50% of the movie. Kax said something to be unselected but I have no clue what it is exactly…

Thank you

---

<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: [February 14, 2003, 11:48am UTC](https://forum.kirupa.com/t/preloader/13053/9 "2003-02-14T11:48:46Z")

</div>

He was referring to the “Linkage…” options of a clip (movie, button, graphic) in your library. So, to get there, you can open up your .fla’s library (F11), right-click on the desired clip and find the option that says “Linkage…”. Now, ironically, if you have the “Export in first frame” checked, that clip – along with any other clips that have that selected – loads first (i.e. before the rest of the flash does).

Later,  
–Elios
