Combined Code
movieClip 11 {
}
movieClip 15 {
}
movieClip 18 {
}
movieClip 29 {
}
movieClip 32 {
}
movieClip 34 {
}
movieClip 38 {
}
movieClip 39 {
}
movieClip 42 {
}
movieClip 46 {
}
movieClip 49 {
}
movieClip 50 {
}
movieClip 52 {
}
movieClip 53 {
}
movieClip 54 {
}
button 57 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 59 {
frame 40 {
stop();
}
}
movieClip 84 {
}
button 85 {
on (release) {
startMovie();
}
}
movieClip 86 {
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();
}
}
// unknown tag 88 length 83
movieClip 93 {
}
movieClip 117 {
}
movieClip 121 {
}
movieClip 129 {
}
movieClip 133 {
}
movieClip 144 {
}
movieClip 148 {
}
movieClip 152 {
}
movieClip 160 {
}
movieClip 166 {
}
movieClip 168 {
}
movieClip 173 {
}