Combined Code
// unknown tag 88 length 67
movieClip 8 {
}
movieClip 13 {
}
movieClip 14 {
}
movieClip 17 {
}
movieClip 18 {
}
movieClip 20 {
}
movieClip 24 {
}
movieClip 25 {
}
movieClip 28 {
}
movieClip 32 {
}
movieClip 35 {
}
movieClip 36 {
}
movieClip 38 {
}
movieClip 39 {
}
movieClip 40 {
}
movieClip 41 {
}
movieClip 43 {
}
button 44 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 47 {
}
button 53 {
on (release) {
startMovie();
}
}
movieClip 55 {
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 57 {
}
button 218 {
on (press) {
gotoAndPlay(361);
}
}
frame 213 {
stopAllSounds;
}
button 227 {
on (press) {
gotoAndPlay(305);
}
}
frame 305 {
_root.stop();
_root.stopAllSounds;
}
button 271 {
on (press) {
gotoAndPlay(211);
_root.stopAllSounds;
}
}
frame 360 {
gotoAndPlay(334);
}
button 307 {
on (press) {
gotoAndPlay(211);
stopAllSounds;
}
}
frame 405 {
gotoAndPlay(387);
}