Combined Code
frame 1 {
stop();
}
movieClip 6 {
}
movieClip 9 {
}
movieClip 20 {
}
movieClip 22 {
frame 40 {
stop();
}
}
movieClip 35 {
}
button 36 {
on (release) {
startMovie();
}
}
movieClip 37 {
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 99 {
}
movieClip 102 {
}
movieClip 114 {
}
movieClip 116 {
}
movieClip 141 {
}
movieClip 143 {
}
movieClip 165 {
}
movieClip 210 {
}
movieClip 215 {
}
movieClip 224 {
}
movieClip 230 {
}
movieClip 276 {
}
movieClip 291 {
}
movieClip 294 {
}
movieClip 295 {
}
movieClip 535 {
}
movieClip 537 {
}
movieClip 539 {
}
movieClip 541 {
}
movieClip 542 {
}
movieClip 566 {
}
movieClip 723 {
}
movieClip 725 {
}
movieClip 727 {
}
movieClip 744 {
}
movieClip 748 {
}
movieClip 752 {
}
movieClip 756 {
}
movieClip 926 {
}
movieClip 1095 {
}
movieClip 1096 {
}
movieClip 1151 {
}
movieClip 1154 {
frame 20 {
stop();
}
}
movieClip 1156 {
frame 4 {
stop();
}
}
movieClip 1158 {
frame 4 {
stop();
}
}
movieClip 1166 {
frame 6 {
stop();
}
}
movieClip 1167 {
frame 11 {
stop();
}
}
movieClip 1374 {
}
movieClip 1432 {
}
movieClip 1446 {
frame 15 {
stop();
}
}
movieClip 1450 {
}
movieClip 1581 {
}
movieClip 1615 {
}
movieClip 1632 {
}
movieClip 1691 {
}
movieClip 1939 {
}
frame 7671 {
stop();
}
movieClip 1964 {
}
movieClip 1968 {
}
button 1974 {
on (release) {
stopAllSounds();
gotoAndPlay(7672);
}
}
movieClip 1978 {
}
movieClip 1979 {
}
button 1984 {
on (press) {
stopAllSounds();
gotoAndStop(1);
}
}
button 1986 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
button 1988 {
on (press) {
gotoAndStop(7671);
}
}
frame 7817 {
gotoAndPlay(7675);
}