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?
system
April 23, 2003, 2:39pm
2
total is always going to be larger than loaded. switch the if statement around
it should be
if(geladen >= totaal && geladen != 0)
system
April 23, 2003, 2:53pm
3
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?
system
April 23, 2003, 2:54pm
4
have you tested it in streaming mode? after you press CONTROL+ENTER to view the site press CONTROL + ENTER to test for download streaming?
system
April 23, 2003, 2:56pm
5
system
April 23, 2003, 3:05pm
6
yes i have test it, but i don’t see anything untill the picture’s, no preloader detected