# Pre-loaders

**URL:** <https://forum.kirupa.com/t/pre-loaders/20155>\
**Category:** Uncategorized\
**Created:** [May 5, 2003, 11:28pm UTC](https://forum.kirupa.com/t/pre-loaders/20155 "2003-05-05T23:28:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris9902](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@chris9902](https://forum.kirupa.com/u/chris9902)\
**Post date:** [May 5, 2003, 11:28pm UTC](https://forum.kirupa.com/t/pre-loaders/20155/1 "2003-05-05T23:28:19Z")

</div>

i have a movie but i just need to learn about pre-loaders.

can i have action-script so it loads say frame 2-70 then when i press a button it loads 71-80.

also how do you make a movie clip last the length of the load, i can make a continues movie but say something is been drawn as it loads. i need that

thanks for any tuts and help:)

---

<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:** [May 6, 2003, 3:10pm UTC](https://forum.kirupa.com/t/pre-loaders/20155/2 "2003-05-06T15:10:40Z")

</div>

come on:angry:

---

<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:** [May 6, 2003, 3:37pm UTC](https://forum.kirupa.com/t/pre-loaders/20155/3 "2003-05-06T15:37:40Z")

</div>

dunno what you mean

but preloaders are simple

eg.

1. in 1st frame make 100x10px rectangle
2. register it as a symbol with RP on the left side
3. give it an actions:  
[AS] onClipEvent(enterFrame) {  
\_xscale = 100\*(\_root.getBytesLoaded()/\_root.getBytesTotal())  
\_xscale \>=1 ? \_root.play() : \_root.gotoAndPlay(1);  
}  
[/AS]

should work…  
peace

---

<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:** [May 6, 2003, 3:41pm UTC](https://forum.kirupa.com/t/pre-loaders/20155/4 "2003-05-06T15:41:35Z")

</div>

check this site out for preloaders, it has a few hundred tuts on it =)

just type “preloaders” on the search box above if u want!!
