Combined Code
movieClip 27 {
}
movieClip 29 {
}
movieClip 33 {
}
movieClip 38 {
}
movieClip 39 {
}
movieClip 42 {
}
movieClip 43 {
}
movieClip 45 {
}
movieClip 49 {
}
movieClip 50 {
}
movieClip 53 {
}
movieClip 57 {
}
movieClip 60 {
}
movieClip 61 {
}
movieClip 63 {
}
movieClip 64 {
}
movieClip 65 {
}
movieClip 66 {
}
movieClip 68 {
}
button 69 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 72 {
}
button 78 {
on (release) {
startMovie();
}
}
movieClip 80 {
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 85 {
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 91 {
}
movieClip 164 {
}
movieClip 166 {
}
movieClip 167 {
}
movieClip 168 {
}
movieClip 191 {
}
movieClip 447 {
}
movieClip 449 {
}
movieClip 451 {
}
movieClip 633 {
}
movieClip 650 {
}
movieClip 656 {
}
movieClip 855 {
}
movieClip 917 {
}
movieClip 949 {
}
movieClip 955 {
}
movieClip 960 {
}
movieClip 965 {
}
movieClip 969 {
}
movieClip 978 {
}
movieClip 981 {
}
button 983 {
on (release) {
gotoAndPlay(3);
}
}
frame 2630 {
stop();
}