Instance of Symbol 68 MovieClip in Frame 173
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 720;
var _local6 = (this._yscale / 100) * 480;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Instance of Symbol 68 MovieClip in Frame 544
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 720;
var _local6 = (this._yscale / 100) * 480;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Instance of Symbol 68 MovieClip in Frame 789
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 720;
var _local6 = (this._yscale / 100) * 480;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Instance of Symbol 68 MovieClip in Frame 1469
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 720;
var _local6 = (this._yscale / 100) * 480;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Instance of Symbol 68 MovieClip in Frame 2020
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 720;
var _local6 = (this._yscale / 100) * 480;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Instance of Symbol 68 MovieClip in Frame 2339
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 720;
var _local6 = (this._yscale / 100) * 480;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Instance of Symbol 68 MovieClip in Frame 2892
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 720;
var _local6 = (this._yscale / 100) * 480;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Instance of Symbol 68 MovieClip in Frame 3318
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 720;
var _local6 = (this._yscale / 100) * 480;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Instance of Symbol 68 MovieClip in Frame 3665
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 720;
var _local6 = (this._yscale / 100) * 480;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Frame 3865
stop();
Frame 3866
stopAllSounds();
Frame 3867
gotoAndPlay (2);
Symbol 11 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 11 MovieClip Frame 37
startMovie();
Symbol 131 Button
on (release) {
play();
}