Combined Code
movieClip 3 {
}
instance fillBar of movieClip 3 {
onClipEvent (load) {
fullWidth = this._width;
}
}
frame 2 {
myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded / myTotal;
fillBar._width = fillBar.fullWidth * myPercent;
if (myLoaded == myTotal) {
gotoAndPlay(3);
} else {
gotoAndPlay(1);
}
}
frame 325 {
myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded / myTotal;
fillBar._width = fillBar.fullWidth * myPercent;
if (myLoaded == myTotal) {
gotoAndPlay(3);
} else {
gotoAndPlay(1);
}
}