Combined Code
movieClip 3 {
}
movieClip 9 {
}
movieClip 11 {
}
movieClip 15 {
}
movieClip 18 {
}
movieClip 29 {
}
button 32 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 34 {
frame 40 {
stop();
}
}
button 45 {
on (release) {
startMovie();
}
}
movieClip 46 {
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 60 {
stop();
}
}
movieClip 51 {
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;
}
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 55 {
}
movieClip 57 {
}
// unknown tag 88 length 145
movieClip 63 {
}
movieClip 65 {
}
movieClip 67 {
}
movieClip 68 {
}
movieClip 70 {
}
movieClip 71 {
}
movieClip 73 {
}
movieClip 76 {
}
movieClip 91 {
}
movieClip 93 {
}
movieClip 98 {
}
movieClip 100 {
}
movieClip 103 {
}
movieClip 163 {
}
movieClip 164 {
}
movieClip 167 {
}
movieClip 174 {
}
movieClip 175 {
}
movieClip 179 {
}
movieClip 184 {
}
movieClip 192 {
}
movieClip 196 {
}
movieClip 198 {
}
movieClip 206 {
}
movieClip 211 {
}
movieClip 214 {
}
movieClip 219 {
}
movieClip 232 {
}
movieClip 233 {
}
movieClip 253 {
}
movieClip 257 {
}
movieClip 264 {
}
movieClip 267 {
}
movieClip 333 {
}
movieClip 337 {
}
movieClip 372 {
}
movieClip 374 {
}
movieClip 382 {
}
movieClip 385 {
}
movieClip 391 {
}
movieClip 392 {
}
movieClip 395 {
}
movieClip 400 {
}
movieClip 401 {
}
movieClip 431 {
}
movieClip 463 {
}
movieClip 473 {
}
movieClip 502 {
}
movieClip 503 {
}
movieClip 505 {
}
movieClip 509 {
}
movieClip 524 {
}
movieClip 542 {
}
movieClip 549 {
}
movieClip 554 {
}
movieClip 590 {
}
movieClip 594 {
}
movieClip 664 {
}
movieClip 667 {
}
movieClip 669 {
}
movieClip 672 {
}
movieClip 694 {
}
movieClip 700 {
}
movieClip 708 {
}
movieClip 779 {
}
movieClip 781 {
}
movieClip 823 {
}
movieClip 952 {
}
movieClip 957 {
}
movieClip 1067 {
}
movieClip 1069 {
}
movieClip 1072 {
}
movieClip 1074 {
}
movieClip 1076 {
}
movieClip 1078 {
}
movieClip 1079 {
}
movieClip 1080 {
}
movieClip 1081 {
}
movieClip 1083 {
}
movieClip 1084 {
}
// unknown tag 88 length 148
movieClip 1141 {
}
movieClip 1147 {
}
movieClip 1150 {
}
movieClip 1151 {
}
movieClip 1153 {
}
movieClip 1154 {
}
movieClip 1157 {
}
movieClip 1159 {
}
movieClip 1163 {
}
movieClip 1165 {
}
movieClip 1168 {
}
movieClip 1176 {
}
movieClip 1180 {
}
movieClip 1181 {
}
movieClip 1183 {
}
movieClip 1188 {
}
movieClip 1191 {
}
movieClip 1194 {
}
movieClip 1195 {
}
movieClip 1248 {
}
movieClip 1260 {
}
movieClip 1263 {
}
movieClip 1265 {
}
movieClip 1268 {
}
movieClip 1275 {
}
movieClip 1282 {
}
movieClip 1285 {
}
movieClip 1352 {
}
movieClip 1353 {
}
movieClip 1354 {
}
movieClip 1379 {
}
movieClip 1404 {
}
movieClip 1405 {
}
movieClip 1406 {
}
movieClip 1407 {
}
movieClip 1408 {
}
movieClip 1409 {
}
movieClip 1410 {
}
movieClip 1414 {
}
movieClip 1425 {
}
movieClip 1446 {
}
movieClip 1450 {
}
movieClip 1452 {
}
movieClip 1475 {
}
movieClip 1514 {
}
movieClip 1516 {
}
movieClip 1520 {
}
movieClip 1521 {
}
movieClip 1524 {
}
movieClip 1525 {
}
movieClip 1527 {
}
movieClip 1529 {
}
movieClip 1540 {
}
movieClip 1543 {
}
movieClip 1566 {
}
movieClip 1580 {
}
movieClip 1583 {
}
movieClip 1585 {
}