Combined Code
frame 1 {
stop();
}
movieClip 28 {
}
movieClip 49 {
}
movieClip 70 {
}
movieClip 91 {
}
movieClip 94 {
}
movieClip 99 {
}
movieClip 100 {
}
movieClip 103 {
}
movieClip 104 {
}
movieClip 106 {
}
movieClip 110 {
}
movieClip 111 {
}
movieClip 114 {
}
movieClip 118 {
}
movieClip 121 {
}
movieClip 122 {
}
movieClip 124 {
}
movieClip 125 {
}
movieClip 126 {
}
movieClip 127 {
}
movieClip 129 {
}
button 130 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 133 {
}
button 139 {
on (release) {
startMovie();
}
}
movieClip 141 {
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();
}
frame 2 {
stop();
}
}
movieClip 153 {
}
movieClip 179 {
}
movieClip 212 {
}
movieClip 333 {
}
movieClip 411 {
}
movieClip 489 {
}
movieClip 567 {
}
movieClip 611 {
}
movieClip 623 {
}
movieClip 633 {
}
movieClip 640 {
}
movieClip 722 {
}
movieClip 737 {
}
movieClip 854 {
}
movieClip 865 {
}
movieClip 869 {
}
movieClip 874 {
}
movieClip 879 {
}
movieClip 885 {
}
movieClip 893 {
}
movieClip 901 {
}
movieClip 909 {
}
movieClip 914 {
}
movieClip 1033 {
}
movieClip 1071 {
}
movieClip 1084 {
}
movieClip 1112 {
}
movieClip 1129 {
}
movieClip 1162 {
}
movieClip 1164 {
}
movieClip 1167 {
}
movieClip 1179 {
}
movieClip 1201 {
}
movieClip 1223 {
}
movieClip 1253 {
}
movieClip 1259 {
}
movieClip 1356 {
}
movieClip 1395 {
}
movieClip 1414 {
}
movieClip 1465 {
}
movieClip 1484 {
}
frame 1018 {
stopAllSounds();
}