Combined Code
movieClip 2 {
}
movieClip 99 {
}
movieClip 104 {
}
movieClip 108 {
}
movieClip 120 {
}
movieClip 124 {
}
button 125 {
on (release) {
_root.gotoAndPlay(2);
}
}
movieClip 126 {
}
movieClip 127 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance of movieClip 127 {
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);
}
}
}
movieClip 142 {
}
movieClip 144 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 2) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
_visible = false;
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
}
movieClip 147 {
}
// unknown tag 88 length 94
frame 612 {
stop();
}