Problems with preloader

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?

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

it should be

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

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?

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

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

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