# \[FMX\] preloader question

**URL:** https://forum.kirupa.com/t/fmx-preloader-question/23105
**Category:** flash
**Created:** [June 12, 2003, 9:31pm UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105 "2003-06-12T21:31:57Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![keon](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@keon](https://forum.kirupa.com/u/keon)
#### Post date: [June 12, 2003, 9:31pm UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105/1 "2003-06-12T21:31:57Z")

</div>

Hello people

First (sorry for my bad english), (i’m dutch 🙂 )

I have a question, I want to make a sort of preloader like  
the one on [http://purepulse.co.kr/](http://purepulse.co.kr/)

For example, i have an animation (movieclip? “100 frames”) 0 till 10 % is loaded shows just frame 1 till 10 of the animation,  
11 till 20 % is loaded shows frame 11 till 20 of the animation, and so on, and so on.

My actionscript is not that good (bad). I’m working on it.

Can someone teel me how to make such a preloader, are there any tut’s of fla’s ? (i couldn’t find any)

I hope you can help me,

Greetz Keon

---

<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: [June 12, 2003, 10:59pm UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105/2 "2003-06-12T22:59:18Z")

</div>

what make a movie clip last the length of the preload

i wish i had that script

ANYONE:)

---

<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: [June 13, 2003, 1:05am UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105/3 "2003-06-13T01:05:05Z")

</div>

put your 100 frame movieclip on the stage… put this script on it. As you can se I have a textbox showing the percentage.

onClipEvent (enterFrame) {  
framesLoaded = (Math.ceil (( \_parent.getBytesLoaded() / \_parent.getBytesTotal()) \* 100));  
gotoAndStop (framesLoaded);  
info.text = framesLoaded + “% completed”;  
if (framesLoaded \>= 90) {  
\_root.gotoAndPlay (2);  
}  
}

---

<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: [June 13, 2003, 1:17am UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105/4 "2003-06-13T01:17:51Z")

</div>

nice one

---

<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: [June 13, 2003, 1:20am UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105/5 "2003-06-13T01:20:49Z")

</div>

i just tested it and it really works (not to be rude)

this is great:beam:

THANKS 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: [June 13, 2003, 7:35am UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105/6 "2003-06-13T07:35:47Z")

</div>

Yup, it really works!  
thnx for sharing!!

Greetz Keon

---

<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: [June 13, 2003, 10:19am UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105/7 "2003-06-13T10:19:52Z")

</div>

No problemos guys 🙂

rock on

---

<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: [June 13, 2003, 8:08pm UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105/8 "2003-06-13T20:08:35Z")

</div>

what did you mean when you said you made a text box

i don’t get what you did

---

<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: [June 14, 2003, 12:40am UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105/9 "2003-06-14T00:40:55Z")

</div>

ahh… sorry… my english isn’t that good. I meant that in the 100 frame movie I have an textbox which also runs over the 100 frames. This textbox I call info and it shows how much there is left to load… ex 34%… 45%… and so on. Hope this is a answer to you question. If not… just ask me again 🙂

---

<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: [June 14, 2003, 12:42am UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105/10 "2003-06-14T00:42:16Z")

</div>

yeah, yeah that got it

i just thought you ment you add the action to a text box but i tried that and it did not work 🙂

---

<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: [June 14, 2003, 10:58am UTC](https://forum.kirupa.com/t/fmx-preloader-question/23105/11 "2003-06-14T10:58:33Z")

</div>

he he… Im not that crazy 🙂
