Combined Code
frame 1 {
stop();
number = 0;
musicmain = new Sound();
musicmain.attachSound('musicmain');
musicmain.start(0, 99);
}
movieClip 5 {
}
movieClip 8 {
}
movieClip 19 {
}
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();
}
}
movieClip 78 {
}
button 79 {
on (release) {
stopAllSounds();
musicmain.start(0, 99);
}
}
movieClip 81 {
}
button 82 {
on (release) {
stopAllSounds();
}
}
frame 2 {
stop();
}
button 86 {
on (release) {
number -= 1;
gotoAndStop(3);
}
}
button 87 {
on (release) {
number += 2;
gotoAndStop(3);
}
}
button 88 {
on (release) {
number -= 2;
gotoAndStop(3);
}
}
// unknown tag 88 length 74
button 94 {
on (release) {
number += 1;
gotoAndStop(3);
}
}
button 96 {
on (release) {
number = number;
gotoAndStop(3);
}
}
button 97 {
on (release) {
number -= 3;
gotoAndStop(3);
}
}
button 100 {
on (release) {
number += 3;
gotoAndStop(3);
}
}
button 102 {
on (release) {
number += 3;
gotoAndStop(4);
}
}
button 103 {
on (release) {
number -= 2;
gotoAndStop(4);
}
}
button 104 {
on (release) {
number -= 1;
gotoAndStop(4);
}
}
button 109 {
on (release) {
number -= 3;
gotoAndStop(4);
}
}
button 111 {
on (release) {
number += 2;
gotoAndStop(4);
}
}
button 112 {
on (release) {
number += 1;
gotoAndStop(4);
}
}
button 117 {
on (release) {
number -= 3;
gotoAndStop(5);
}
}
button 118 {
on (release) {
number += 1;
gotoAndStop(5);
}
}
button 119 {
on (release) {
number -= 2;
gotoAndStop(5);
}
}
button 123 {
on (release) {
number += 2;
gotoAndStop(5);
}
}
button 125 {
on (release) {
number = number;
gotoAndStop(5);
}
}
button 126 {
on (release) {
number -= 1;
gotoAndStop(5);
}
}
button 129 {
on (release) {
number += 3;
gotoAndStop(5);
}
}
button 132 {
on (release) {
number -= 3;
gotoAndStop(6);
}
}
button 133 {
on (release) {
number += 1;
gotoAndStop(6);
}
}
button 134 {
on (release) {
number -= 2;
gotoAndStop(6);
}
}
button 138 {
on (release) {
number += 2;
gotoAndStop(6);
}
}
button 140 {
on (release) {
number = number;
gotoAndStop(6);
}
}
button 143 {
on (release) {
number += 3;
gotoAndStop(6);
}
}
button 146 {
on (release) {
number = number;
gotoAndStop(7);
}
}
button 147 {
on (release) {
number += 2;
gotoAndStop(7);
}
}
button 148 {
on (release) {
number -= 3;
gotoAndStop(7);
}
}
button 152 {
on (release) {
number += 1;
gotoAndStop(7);
}
}
button 154 {
on (release) {
number += 3;
gotoAndStop(7);
}
}
button 159 {
on (release) {
number += 2;
gotoAndStop(8);
}
}
button 160 {
on (release) {
number -= 3;
gotoAndStop(8);
}
}
button 161 {
on (release) {
number = number;
gotoAndStop(8);
}
}
button 165 {
on (release) {
number += 3;
gotoAndStop(8);
}
}
button 167 {
on (release) {
number -= 2;
gotoAndStop(8);
}
}
button 168 {
on (release) {
number += 1;
gotoAndStop(8);
}
}
button 171 {
on (release) {
number -= 1;
gotoAndStop(8);
}
}
button 174 {
on (release) {
number -= 1;
gotoAndStop(9);
}
}
button 175 {
on (release) {
number -= 2;
gotoAndStop(9);
}
}
button 176 {
on (release) {
number += 2;
gotoAndStop(9);
}
}
button 180 {
on (release) {
number += 3;
gotoAndStop(9);
}
}
button 182 {
on (release) {
number += 1;
gotoAndStop(9);
}
}
button 183 {
on (release) {
number -= 3;
gotoAndStop(9);
}
}
button 186 {
on (release) {
number = number;
gotoAndStop(9);
}
}
button 189 {
on (release) {
number = number;
gotoAndStop(9);
}
on (release) {
if (number > 14) {
gotoAndStop(16);
} else {
if (number < 15 && number > 8) {
gotoAndStop(15);
} else {
if (number < 9 && number > 2) {
gotoAndStop(14);
} else {
if (number < 3 && number > -2) {
gotoAndStop(13);
} else {
if (number < -3 && number > -8) {
gotoAndStop(12);
} else {
if (number < -9 && number > -14) {
gotoAndStop(11);
} else {
gotoAndStop(10);
}
}
}
}
}
}
}
}
button 190 {
on (release) {
number += 1;
gotoAndStop(9);
}
on (release) {
if (number > 14) {
gotoAndStop(16);
} else {
if (number < 15 && number > 8) {
gotoAndStop(15);
} else {
if (number < 9 && number > 2) {
gotoAndStop(14);
} else {
if (number < 3 && number > -2) {
gotoAndStop(13);
} else {
if (number < -3 && number > -8) {
gotoAndStop(12);
} else {
if (number < -9 && number > -14) {
gotoAndStop(11);
} else {
gotoAndStop(10);
}
}
}
}
}
}
}
}
button 191 {
on (release) {
number += 3;
gotoAndStop(9);
}
on (release) {
if (number > 14) {
gotoAndStop(16);
} else {
if (number < 15 && number > 8) {
gotoAndStop(15);
} else {
if (number < 9 && number > 2) {
gotoAndStop(14);
} else {
if (number < 3 && number > -2) {
gotoAndStop(13);
} else {
if (number < -3 && number > -8) {
gotoAndStop(12);
} else {
if (number < -9 && number > -14) {
gotoAndStop(11);
} else {
gotoAndStop(10);
}
}
}
}
}
}
}
}
button 195 {
on (release) {
number -= 3;
gotoAndStop(9);
}
on (release) {
if (number > 14) {
gotoAndStop(16);
} else {
if (number < 15 && number > 8) {
gotoAndStop(15);
} else {
if (number < 9 && number > 2) {
gotoAndStop(14);
} else {
if (number < 3 && number > -2) {
gotoAndStop(13);
} else {
if (number < -3 && number > -8) {
gotoAndStop(12);
} else {
if (number < -9 && number > -14) {
gotoAndStop(11);
} else {
gotoAndStop(10);
}
}
}
}
}
}
}
}
button 197 {
on (release) {
number += 2;
gotoAndStop(9);
}
on (release) {
if (number > 14) {
gotoAndStop(16);
} else {
if (number < 15 && number > 8) {
gotoAndStop(15);
} else {
if (number < 9 && number > 2) {
gotoAndStop(14);
} else {
if (number < 3 && number > -2) {
gotoAndStop(13);
} else {
if (number < -3 && number > -8) {
gotoAndStop(12);
} else {
if (number < -9 && number > -14) {
gotoAndStop(11);
} else {
gotoAndStop(10);
}
}
}
}
}
}
}
}
button 198 {
on (release) {
number -= 1;
gotoAndStop(9);
}
on (release) {
if (number > 14) {
gotoAndStop(16);
} else {
if (number < 15 && number > 8) {
gotoAndStop(15);
} else {
if (number < 9 && number > 2) {
gotoAndStop(14);
} else {
if (number < 3 && number > -2) {
gotoAndStop(13);
} else {
if (number < -3 && number > -8) {
gotoAndStop(12);
} else {
if (number < -9 && number > -14) {
gotoAndStop(11);
} else {
gotoAndStop(10);
}
}
}
}
}
}
}
}
button 201 {
on (release) {
number -= 2;
gotoAndStop(9);
}
on (release) {
if (number > 14) {
gotoAndStop(16);
} else {
if (number < 15 && number > 8) {
gotoAndStop(15);
} else {
if (number < 9 && number > 2) {
gotoAndStop(14);
} else {
if (number < 3 && number > -2) {
gotoAndStop(13);
} else {
if (number < -3 && number > -8) {
gotoAndStop(12);
} else {
if (number < -9 && number > -14) {
gotoAndStop(11);
} else {
gotoAndStop(10);
}
}
}
}
}
}
}
}