# Problems with preloader

**URL:** <https://forum.kirupa.com/t/problems-with-preloader/19004>\
**Category:** Uncategorized\
**Created:** [April 23, 2003, 1:23pm UTC](https://forum.kirupa.com/t/problems-with-preloader/19004 "2003-04-23T13:23:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![virusdoder](https://avatars.discourse-cdn.com/v4/letter/v/f4b2a3/32.png) [@virusdoder](https://forum.kirupa.com/u/virusdoder)\
**Post date:** [April 23, 2003, 1:23pm UTC](https://forum.kirupa.com/t/problems-with-preloader/19004/1 "2003-04-23T13:23:13Z")

</div>

i think that i have a little problem but i don’t know where the problem is, here is the code:

this.onEnterFrame = function() {  
totaal = this.getBytesTotal();  
geladen = this.getBytesLoaded();  
if (totaal \>= geladen) {  
delete this.onEnterFrame;  
MovieClip.nextFrame();  
}  
};  
stop();

when i run it, i see nothing, can you see the what is wrong?

---

<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:** [April 23, 2003, 2:39pm UTC](https://forum.kirupa.com/t/problems-with-preloader/19004/2 "2003-04-23T14:39:50Z")

</div>

total is always going to be larger than loaded. switch the if statement around

it should be

if(geladen \>= totaal && geladen != 0)

---

<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:** [April 23, 2003, 2:53pm UTC](https://forum.kirupa.com/t/problems-with-preloader/19004/3 "2003-04-23T14:53:21Z")

</div>

now i have this:

this.onEnterFrame = function() {  
totaal = this.getBytesTotal();  
geladen = this.getBytesLoaded();  
if (geladen \>= totaal) {  
delete this.onEnterFrame;  
this.nextframe();  
play();  
}  
};  
stop();

but i don’t see nothing on the screen, i have look up and they said, use an dynamic text, but still nothing, must i have code in the dynamic text to link something or is it something else?

---

<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:** [April 23, 2003, 2:54pm UTC](https://forum.kirupa.com/t/problems-with-preloader/19004/4 "2003-04-23T14:54:54Z")

</div>

have you tested it in streaming mode? after you press CONTROL+ENTER to view the site press CONTROL + ENTER to test for download streaming?

---

<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:** [April 23, 2003, 2:56pm UTC](https://forum.kirupa.com/t/problems-with-preloader/19004/5 "2003-04-23T14:56:42Z")

</div>

[http://search.atomz.com/search/?sp-advanced=1&sp-q=preloader&B1=search&sp-a=00040c2f-sp00000000&sp-w-control=1;](http://search.atomz.com/search/?sp-advanced=1&sp-q=preloader&B1=search&sp-a=00040c2f-sp00000000&sp-w-control=1;)

other tutorials for preloaders too

---

<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:** [April 23, 2003, 3:05pm UTC](https://forum.kirupa.com/t/problems-with-preloader/19004/6 "2003-04-23T15:05:53Z")

</div>

yes i have test it, but i don’t see anything untill the picture’s, no preloader detected
