Combined Code
frame 1 {
function loadCheck() {
if (anim.ploader1.lol.getBytesLoaded() != anim.ploader1.lol.getBytesTotal()) {
return false;
} else {
return true;
}
}
myPic = this.pic;
allLoaded = false;
anim.ploader1.lol.loadMovie(myPic, this);
anim.ploader2.lol.loadMovie(myPic, this);
this.onEnterFrame = function () {
if (loadCheck() && myPic.length >= 5 && !allLoaded) {
allLoaded = true;
} else {
allLoaded = false;
}
};
}
movieClip 5 {
}
movieClip 6 {
frame 1 {
this.onEnterFrame = function () {
_root.theWidth = this._width;
};
}
}
movieClip 72 {
}
movieClip 74 {
frame 10 {
if (!_root.allLoaded) {
gotoAndPlay(1);
}
trace(_root.allLoaded);
}
frame 21 {
ploader1.lol._width = 85;
ploader1.lol._height = 65;
}
frame 32 {
ploader2.lol._width = 340;
ploader2.lol._height = 230;
}
frame 50 {
stop();
}
}