Combined Code
movieClip 2 {
}
movieClip 5 {
}
movieClip 7 {
}
movieClip 8 {
}
button 9 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 11 {
}
movieClip 13 {
}
movieClip 15 {
frame 1 {
function timerHandler() {
var v2 = this;
if (!loadingComplete) {
var v3 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._yscale = 100 * v3;
if (v3 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop('loaded');
}
} else {
dt = getTimer() - time;
time += dt;
frameAccum += dt;
var v1 = 0;
for (;;) {
if (!(frameAccum >= FRAME_TIME && v1 < MAX_FRAME_SKIP)) break;
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(v2, false, false);
}
frameAccum -= FRAME_TIME;
v1++;
}
updateAfterEvent();
}
}
}
function advanceFrame(clip, recurse, loop) {
var v1 = clip;
var v2 = loop;
var v3 = recurse;
if (!v1) {
} else {
v1.stop();
if (v1._currentframe == v1._totalframes) {
if (v2) {
v1.gotoAndStop(1);
}
} else {
v1.nextFrame();
}
if (v3) {
for (childName in v1) {
if (typeof v1[childName] == 'movieclip') {
advanceFrame(v1[childName], v3, v2);
}
}
}
}
}
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();
}
frame 72 {
startMovie();
}
}
// unknown tag 88 length 99
frame 2 {
stop();
}
button 24 {
on (release) {
_root.nextFrame();
}
}
button 29 {
on (release) {
gotoAndStop(4);
}
}
button 31 {
on (release) {
gotoAndStop(13);
}
}
button 33 {
on (release) {
gotoAndStop(21);
}
}
button 35 {
on (release) {
gotoAndStop(37);
}
}
button 37 {
on (release) {
gotoAndStop(48);
}
}
frame 4 {
stop();
stopAllSounds();
}
frame 12 {
stopAllSounds();
}
button 65 {
on (release) {
_root.nextFrame();
}
}
button 67 {
on (release) {
gotoAndStop(3);
}
}
button 71 {
on (release) {
gotoAndStop(4);
}
}
frame 13 {
stop();
stopAllSounds();
}
frame 20 {
stopAllSounds();
}
button 93 {
on (release) {
stopAllSounds();
gotoAndStop(3);
}
}
button 95 {
on (release) {
gotoAndStop(21);
}
}
button 98 {
on (release) {
gotoAndStop(13);
}
}
frame 21 {
stopAllSounds();
stop();
}
frame 36 {
stopAllSounds();
}
button 146 {
on (release) {
gotoAndPlay(37);
}
}
button 148 {
on (release) {
gotoAndStop(3);
}
}
button 149 {
on (release) {
gotoAndStop(21);
}
}
button 153 {
on (release) {
gotoAndStop(1);
}
}
button 154 {
on (release) {
gotoAndStop(37);
}
}
button 156 {
on (release) {
gotoAndStop(37);
}
}
frame 37 {
stopAllSounds();
stop();
}
frame 47 {
stopAllSounds();
}
button 185 {
on (release) {
gotoAndStop(37);
}
}
button 187 {
on (release) {
gotoAndStop(3);
}
}
button 188 {
on (release) {
gotoAndStop(48);
}
}
frame 48 {
stop();
stopAllSounds();
}
frame 55 {
stopAllSounds();
}
button 215 {
on (release) {
stopAllSounds();
gotoAndStop(3);
}
}
button 216 {
on (release) {
gotoAndStop(48);
}
}