Combined Code
movieClip 83 {
}
movieClip 110 {
}
movieClip 114 {
}
movieClip 119 {
}
movieClip 120 {
}
movieClip 123 {
}
movieClip 124 {
}
movieClip 126 {
}
movieClip 130 {
}
movieClip 131 {
}
movieClip 134 {
}
movieClip 138 {
}
movieClip 141 {
}
movieClip 142 {
}
movieClip 144 {
}
movieClip 145 {
}
movieClip 146 {
}
movieClip 147 {
}
movieClip 149 {
}
button 150 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 153 {
}
button 159 {
on (release) {
startMovie();
}
}
movieClip 161 {
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 163 {
}
movieClip 193 {
}
movieClip 196 {
}
movieClip 302 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v4 = sX / this._width;
var v3 = sY / this._height;
_parent._x = cX - this._x * v4;
_parent._y = cY - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = 'exactFit';
var cX = Stage.width / 2;
var cY = Stage.height / 2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
}
movieClip 392 {
}
movieClip 394 {
}
movieClip 641 {
}
movieClip 643 {
}
movieClip 645 {
}
movieClip 652 {
}
movieClip 656 {
}
movieClip 658 {
}
movieClip 711 {
}
movieClip 722 {
}
movieClip 723 {
}
movieClip 727 {
}
movieClip 736 {
}
movieClip 747 {
}
movieClip 755 {
}
movieClip 766 {
}
movieClip 774 {
}
movieClip 785 {
}
movieClip 793 {
}
movieClip 795 {
}
movieClip 807 {
}
movieClip 837 {
}
movieClip 839 {
}
movieClip 843 {
}
movieClip 857 {
}
movieClip 865 {
}
movieClip 872 {
}
movieClip 874 {
}
movieClip 883 {
}
movieClip 885 {
}
movieClip 891 {
}
movieClip 893 {
}
movieClip 896 {
}
movieClip 923 {
}
movieClip 931 {
}
movieClip 950 {
}
movieClip 962 {
}
movieClip 989 {
}
movieClip 1022 {
}
movieClip 1034 {
}
movieClip 1052 {
}
movieClip 1159 {
}
movieClip 1161 {
}
movieClip 1197 {
}
movieClip 1199 {
}
movieClip 1235 {
}
movieClip 1237 {
}
movieClip 1258 {
}
movieClip 1260 {
}
movieClip 1267 {
}
movieClip 1270 {
}
movieClip 1272 {
}
movieClip 1274 {
}
movieClip 1278 {
}
movieClip 1283 {
}
movieClip 1289 {
}
movieClip 1298 {
}
movieClip 1302 {
}
movieClip 1309 {
}
movieClip 1311 {
}
movieClip 1315 {
}
movieClip 1331 {
}
movieClip 1339 {
}
movieClip 1341 {
}
movieClip 1343 {
}
movieClip 1354 {
}
movieClip 1366 {
}
movieClip 1383 {
}
movieClip 1385 {
}
movieClip 1387 {
}
movieClip 1391 {
}
movieClip 1394 {
}
movieClip 1411 {
}
movieClip 1431 {
}
movieClip 1440 {
}
movieClip 1443 {
}
movieClip 1445 {
}
movieClip 1447 {
}
movieClip 1450 {
}
movieClip 1471 {
}
movieClip 1473 {
}
movieClip 1475 {
}
movieClip 1509 {
}
movieClip 1537 {
}
movieClip 1539 {
}
movieClip 1543 {
}
movieClip 1545 {
}
movieClip 1621 {
}
movieClip 1623 {
}
movieClip 1629 {
}
frame 4663 {
stop();
}