this.createEmptyMovieClip("preloader", 1000);
this.createEmptyMovieClip("container", 1001);
with (container) {
loadMovie(_root.picture);
_x = 240;
_y = -60;
_xscale = 35;
_yscale = 35;
_visible = false;
}
preloader.onEnterFrame = function() {
var l = container.getBytesLoaded();
var t = container.getBytesTotal();
var getPercent = l/t;
loadText = Math.round(getPercent*100)+"%";
loadBar._width = getPercent*160.5;
if (l>0 && l>=t) {
container._visible = 1;
loadText = ""
loadBar._visible = 0;
lostinbeta: i thought it was working yesterday but then it really wasn’t so i need help figuring out what’s wrong with it
the preloader shows like it’s supposed to for the first image. but when subsequent images are called then loaded, the preloader doesn’t show. yes i cleared my cache
It would save you from having to clear your cache because if you add it to your loadMovie code that loads the .jpg image (shows how to use in thread) then it prevents it from getting cached.