Preloader Death!
- Started
- Last post
- 8 Responses
- versa
It is going to kill me if I can't figure why this f*cking preloader won't work right.
someone please step in and help save me.
isn't it the worst when something so trivial ends up taking hours to debug
i want to get on with the show with this site - preloaders have never been a problem before
you can see the preloader live at www.chrissessions.com/staging
notice how when you refresh the page, the AS in the .swf doesn't seem to recognize that all bytes have previously been loaded - here is my code if anyone is nice enough.........(there is nothing but 2 small graphics on the first frame, and a big picture in the second scene to add to movie size for testing)
setProperty ("barMC", _xscale, 0);
_root.preloaderMC._visible = 0;var kbLoaded = Math.round(_root.getBytesLoaded...
var kbTotal = Math.round(_root.getBytesTotal...
if ((kbLoaded == kbTotal) && kbTotal > 1) {
_root.preloaderMC.removeMovieCli...
_root.gotoAndPlay (2);
}
else {
if ( kbLoaded 1) {
endPreload();
} else_root.preloaderMC.percent.text = Math.floor(percent);
}
updateAfterEvent();
};
endPreload = function () {_root.preloaderMC.percent.text = "100";
clearInterval(preload);
_root.gotoAndPlay(2);
};
preload = setInterval(assessLoad, 30);stop();
//----------------------------thanks in advance
- versa0
bumper cars
- Seph0
You ll be lucky at this early hour if anyone would have the patience, Ill have a butchers this afternoon, its too early for code headache.
- blindpilot0
seems to work ok for me here
- stewart0
what's wrong with http://www.chrissessions.com/sta… ? after refreshing that page no preloader appears.
mac G4 / flashMX plugin / IE 5
- versa0
sorry just woke up guys.
really no bar or percentage box appear if the site is loaded for you all??
cache issue maybe for me,
can't seem to test it properly on my end then
by chance -
anybody else have the same issue as me?
thanks everyone
- intoxicated0
it works fine for me. Win/IE6
- ********0
you don't need all that AS actually. ;)
- k0na_an0k0
works here. ie 6 win 2000.
nice fullscreen btw.
*ends sarcasm