Combined Code
movieClip 9 {
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 28 {
}
movieClip 29 {
}
movieClip 32 {
}
movieClip 36 {
}
movieClip 39 {
}
movieClip 40 {
}
movieClip 42 {
}
movieClip 43 {
}
movieClip 44 {
}
button 47 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 49 {
frame 40 {
stop();
}
}
movieClip 74 {
}
button 75 {
on (release) {
startMovie();
}
}
movieClip 76 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var v4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * v4;
if (v4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop('loaded');
}
return undefined;
}
}
dt = getTimer() - time;
time += dt;
frameAccum += dt;
var v3 = 0;
for (;;) {
if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break;
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
frameAccum -= FRAME_TIME;
v3++;
}
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.33333333333334;
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();
}
}
// unknown tag 88 length 286
// unknown tag 88 length 282
movieClip 82 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v4 = sX / this._width;
var v3 = sY / this._height;
_parent._x = cX - this._x * v4;
_parent._y = cY - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
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 2 {
stop();
}
movieClip 96 {
}
button 97 {
on (release) {
nextFrame();
}
}
button 99 {
on (release) {
gotoAndPlay(3726);
}
}
button 101 {
on (release) {
gotoAndPlay(6138);
}
}
button 103 {
on (release) {
gotoAndPlay(4953);
}
}
frame 3 {
play();
}
movieClip 124 {
}
movieClip 125 {
}
frame 202 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
instance of movieClip 125 {
}
movieClip 127 {
}
frame 272 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
instance of movieClip 125 {
}
frame 273 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 274 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 296 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
instance of movieClip 125 {
}
frame 297 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 220 {
}
movieClip 224 {
}
movieClip 285 {
}
movieClip 353 {
}
movieClip 361 {
}
movieClip 514 {
}
movieClip 518 {
}
frame 2982 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 530 {
}
frame 2983 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 543 {
}
movieClip 569 {
}
movieClip 580 {
}
movieClip 581 {
}
frame 3719 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 584 {
}
frame 3720 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 587 {
}
frame 3721 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 3722 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 3723 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 3724 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 3725 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 600 {
}
frame 4017 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 602 {
}
frame 4018 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 4019 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 660 {
}
frame 4433 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 763 {
}
frame 4951 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 4952 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 789 {
}
movieClip 791 {
}
movieClip 869 {
}
frame 5826 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 871 {
}
frame 5827 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 875 {
}
frame 5828 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 5829 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 5830 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 5831 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 5832 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 5833 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 5834 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 5835 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 884 {
}
frame 6034 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 901 {
}
movieClip 902 {
}
frame 6108 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
movieClip 904 {
}
frame 6109 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 6110 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 6111 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 6112 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 6295 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 6296 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 6297 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 6298 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 6299 {
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
_root.allow = true;
} else {
if (Key.isDown(32) && _root.allow == true) {
play();
_root.allow = false;
}
}
};
}
frame 11840 {
stop();
}
button 1312 {
on (release) {
gotoAndPlay(2);
}
}