View Full Version : problems with preloader
virusdoder
April 23rd, 2003, 09:23 AM
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?
Jubba
April 23rd, 2003, 10:39 AM
total is always going to be larger than loaded. switch the if statement around
it should be
if(geladen >= totaal && geladen != 0)
virusdoder
April 23rd, 2003, 10:53 AM
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?
Jubba
April 23rd, 2003, 10:54 AM
have you tested it in streaming mode? after you press CONTROL+ENTER to view the site press CONTROL + ENTER to test for download streaming?
Jubba
April 23rd, 2003, 10:56 AM
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
virusdoder
April 23rd, 2003, 11:05 AM
yes i have test it, but i don't see anything untill the picture's, no preloader detected
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.