# How can i make this preloader

**URL:** <https://forum.kirupa.com/t/how-can-i-make-this-preloader/24265>\
**Category:** flash\
**Created:** [June 27, 2003, 10:20pm UTC](https://forum.kirupa.com/t/how-can-i-make-this-preloader/24265 "2003-06-27T22:20:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gr0m](https://avatars.discourse-cdn.com/v4/letter/g/54ee81/32.png) [@gr0m](https://forum.kirupa.com/u/gr0m)\
**Post date:** [June 27, 2003, 10:20pm UTC](https://forum.kirupa.com/t/how-can-i-make-this-preloader/24265/1 "2003-06-27T22:20:32Z")

</div>

[http://www.nirinc.com/](http://www.nirinc.com/)  
I mean this two ways preloader…  
I know that that’s simple, but i dont know how…

---

<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 27, 2003, 10:29pm UTC](https://forum.kirupa.com/t/how-can-i-make-this-preloader/24265/2 "2003-06-27T22:29:38Z")

</div>

BTW, ow can i make this preloader like who’s we did, on [www.infiniumlabs.com](http://www.infiniumlabs.com), i mean this digital prealoader, wth big digits…

---

<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 27, 2003, 11:43pm UTC](https://forum.kirupa.com/t/how-can-i-make-this-preloader/24265/3 "2003-06-27T23:43:05Z")

</div>

i no it’s unethical, and in no way do I promote this, but I ripped the action script off of the sprite of the SFW on NIR, and this is what is contained:

[AS]  
// Action script…

// [onClipEvent of sprite 1 in frame 6]  
onClipEvent (load)  
{  
time = getTimer() + 250;  
}

onClipEvent (enterFrame)  
{  
t = getTimer();  
if (t \< time)  
{  
if (\_root.LoadCheck == true)  
{  
\_parent.gotoAndPlay(“static”);  
}  
else  
{  
\_parent.gotoAndPlay(“go”);  
} // end if  
} // end if  
}

// [onClipEvent of sprite 1 in frame 7]  
onClipEvent (load)  
{  
\_parent.dynBar.\_width = 0;  
\_root.vLoaded = 0;  
\_root.vToLoad = 0;  
\_parent.loadNum = 0;  
}

onClipEvent (enterFrame)  
{  
t = Math.round(\_root.vLoaded / \_root.vToLoad \* 100);  
\_parent.dynBar.\_width = t;  
if (t \>= 1)  
{  
\_parent.loadNum = t;  
} // end if  
if (\_root.vLoaded \>= \_root.vToLoad && \_root.vToLoad != 0 && \_root.LoadCheck == true)  
{  
\_parent.gotoAndPlay(“out”);  
} // end if  
}

// [onClipEvent of sprite 2 in frame 13]  
onClipEvent (load)  
{  
this.\_width = 1;  
}

// [onClipEvent of sprite 2 in frame 20]  
onClipEvent (load)  
{  
this.\_width = 1;  
}

// [Action in Frame 1]  
stop();

// [Action in Frame 2]  
play();

// [Action in Frame 6]  
stop();

// [Action in Frame 7]  
play();

// [Action in Frame 13]  
stop();

// [Action in Frame 14]  
play();

// [Action in Frame 21]  
\_root.vLoaded = 0;  
\_root.vToLoad = 0;  
\_root.LoadCheck = false;  
if (\_root.HomeLoad == true)  
{  
\_root.HomeLoad = false;  
\_root.gotoAndStop(2);  
}  
else  
{  
\_root.loadClip.gotoAndStop(2);  
} // end if  
stop();  
[/AS]

I never do this unless, it is for learning purposes, please do not copy this action script and use it for yourself, since it is under copyright law. Ⓜ

---

<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 27, 2003, 11:47pm UTC](https://forum.kirupa.com/t/how-can-i-make-this-preloader/24265/4 "2003-06-27T23:47:54Z")

</div>

As for the digital one, u need to make a fainted looking digital panel, and then use a digital font, basically its all simple action script, like loadText in the preloader tutorials here. Hope this helped 🙂

---

<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 28, 2003, 6:17am UTC](https://forum.kirupa.com/t/how-can-i-make-this-preloader/24265/5 "2003-06-28T06:17:00Z")

</div>

Wow … that’s on hellova script.

For the two side preloader, you could also just follow the tutorial on [kirupa.com](http://kirupa.com) ([here](http://www.kirupa.com/developer/mx/percentagepreloader.htm)), but instead of setting the registration point to the left, keep it in the middle. And then of course, also change the value in the as to the double width.

---

<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 28, 2003, 5:47pm UTC](https://forum.kirupa.com/t/how-can-i-make-this-preloader/24265/6 "2003-06-28T17:47:16Z")

</div>

yea, registration points are very nifty when it comes to animation, i totally forgot to mention that, thx Voetsjoeba :A+:
