Combined Code
frame 1 {
stop();
}
button 5 {
on (release) {
gotoAndPlay(3);
}
}
button 6 {
on (release) {
gotoAndPlay(6650);
}
}
movieClip 9 {
}
movieClip 14 {
}
movieClip 15 {
}
movieClip 18 {
}
movieClip 19 {
}
movieClip 21 {
}
movieClip 25 {
}
movieClip 26 {
}
movieClip 29 {
}
movieClip 33 {
}
movieClip 36 {
}
movieClip 37 {
}
movieClip 39 {
}
movieClip 40 {
}
movieClip 41 {
}
movieClip 42 {
}
movieClip 44 {
}
button 45 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 48 {
}
button 54 {
on (release) {
startMovie();
}
}
movieClip 56 {
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();
}
}
// unknown tag 88 length 15
// unknown tag 88 length 10
movieClip 64 {
}
movieClip 67 {
}
// unknown tag 88 length 68
movieClip 74 {
}
movieClip 75 {
}
movieClip 77 {
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 112 {
}
movieClip 114 {
}
movieClip 307 {
}
movieClip 312 {
}
// unknown tag 88 length 138
movieClip 319 {
}
movieClip 320 {
}
movieClip 338 {
}
movieClip 340 {
}
movieClip 342 {
}
movieClip 380 {
}
movieClip 382 {
}
movieClip 383 {
}
movieClip 389 {
}
movieClip 391 {
}
movieClip 397 {
}
movieClip 398 {
}
movieClip 403 {
}
movieClip 406 {
}
movieClip 413 {
}
movieClip 419 {
}
movieClip 421 {
}
movieClip 425 {
}
movieClip 428 {
}
movieClip 429 {
}
movieClip 436 {
}
movieClip 443 {
}
movieClip 449 {
}
movieClip 451 {
}
movieClip 454 {
}
movieClip 455 {
}
movieClip 458 {
}
movieClip 464 {
}
movieClip 466 {
}
movieClip 480 {
}
movieClip 484 {
}
movieClip 490 {
}
movieClip 498 {
}
movieClip 526 {
}
movieClip 584 {
}
// unknown tag 88 length 138
// unknown tag 88 length 68
// unknown tag 88 length 68
movieClip 602 {
}
movieClip 604 {
}
movieClip 615 {
}
movieClip 616 {
}
movieClip 618 {
}
movieClip 624 {
}
movieClip 656 {
}
movieClip 659 {
}
// unknown tag 88 length 93
frame 6649 {
stop();
}
button 759 {
on (release) {
gotoAndPlay(1);
}
}
frame 6650 {
stop();
}
button 762 {
on (release) {
gotoAndPlay(683);
}
}
button 763 {
on (release) {
gotoAndPlay(939);
}
}
button 764 {
on (release) {
gotoAndPlay(2);
}
}
button 765 {
on (release) {
gotoAndPlay(1343);
}
}
button 766 {
on (release) {
gotoAndPlay(1);
}
}
button 767 {
on (release) {
gotoAndPlay(2310);
}
}
button 768 {
on (release) {
gotoAndPlay(3460);
}
}
button 769 {
on (release) {
gotoAndPlay(3925);
}
}
button 770 {
on (release) {
gotoAndPlay(4690);
}
}
button 771 {
on (release) {
gotoAndPlay(5300);
}
}
button 772 {
on (release) {
gotoAndPlay(5439);
}
}
button 773 {
on (release) {
gotoAndPlay(5571);
}
}