# How can I "test" a preloader?

**URL:** <https://forum.kirupa.com/t/how-can-i-test-a-preloader/63733>\
**Category:** Uncategorized\
**Created:** [September 9, 2004, 3:51pm UTC](https://forum.kirupa.com/t/how-can-i-test-a-preloader/63733 "2004-09-09T15:51:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azazel](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@Azazel](https://forum.kirupa.com/u/Azazel)\
**Post date:** [September 9, 2004, 3:51pm UTC](https://forum.kirupa.com/t/how-can-i-test-a-preloader/63733/1 "2004-09-09T15:51:49Z")

</div>

OK, i’ve been wondering this for quite some time now… how can i test a preloader… if i have an animated preloader, and want to make shure that everything works? It’s such a small swf that i can’t see if the preloader is doing waht it’s supposed to!

:ear:

this is the AS i’m using

load\_mc.onEnterFrame = function(){  
var getPercent = \_root.getBytesLoaded() / \_root.getBytesTotal();  
var goFrame = Math.round(getPercent \* 50);  
this.gotoAndStop(goFrame);  
if (goFrame == 50) { // preloading finished  
\_root.nextFrame();  
}  
}

---

<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:** [September 9, 2004, 5:07pm UTC](https://forum.kirupa.com/t/how-can-i-test-a-preloader/63733/2 "2004-09-09T17:07:52Z")

</div>

in flash press ctrl+enter twice then press ctrl+b and go to the view tab and check the connection speed settings and choose 14kbps that way you can see it as if you were on a real slow connection 😉

---

<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:** [September 9, 2004, 5:29pm UTC](https://forum.kirupa.com/t/how-can-i-test-a-preloader/63733/3 "2004-09-09T17:29:14Z")

</div>

and thank YOU for that :hr: :beam:
