Combined Code
movieClip 3 {
}
movieClip 4 {
}
movieClip 7 {
}
movieClip 104 {
}
button 107 {
on (release) {
gotoAndStop(2);
}
}
movieClip 108 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance of movieClip 108 {
onClipEvent (load) {
_root.stop();
this._x = Stage.width / 2;
this._y = Stage.height / 2;
setCurrentFrame = 1;
setMaxFrames = this.playAnimation._totalframes;
this.playAnimation.stop();
}
onClipEvent (load) {
_root.stop();
this._x = Stage.width / 2;
this._y = Stage.height / 2;
setMaxBarWidth = this.loadBar._width;
this.loadBar._width = 0;
}
onClipEvent (enterFrame) {
setCurrentFrame = this.playAnimation._currentframe;
if (setCurrentFrame < Math.floor(getPercentLoaded * setMaxFrames)) {
this.playAnimation.play();
} else {
this.playAnimation.stop();
}
if (getPercentLoaded == 1 && setCurrentFrame == setMaxFrames) {
this.gotoAndStop(2);
}
getPercentLoaded = _root.getBytesLoaded() / _root.getBytesTotal();
this.loadBar._width = getPercentLoaded * setMaxBarWidth;
this.textDisplay.text = Math.round(getPercentLoaded * 100);
if (getPercentLoaded == 1) {
this.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
movieClip 110 {
}
movieClip 113 {
}
movieClip 114 {
}
movieClip 116 {
}
movieClip 122 {
}