Combined Code
frame 1 {
stopAllSounds();
}
movieClip 4 {
}
movieClip 7 {
}
movieClip 18 {
}
movieClip 21 {
}
movieClip 23 {
}
movieClip 27 {
}
movieClip 28 {
}
movieClip 31 {
}
movieClip 35 {
}
movieClip 38 {
}
movieClip 39 {
}
movieClip 41 {
}
movieClip 42 {
}
movieClip 43 {
}
button 46 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 48 {
frame 40 {
stop();
}
}
movieClip 73 {
}
button 74 {
on (release) {
startMovie();
}
}
movieClip 75 {
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 89 {
}
movieClip 122 {
}
movieClip 123 {
}
movieClip 125 {
}
movieClip 158 {
}
movieClip 179 {
}
movieClip 180 {
}
movieClip 181 {
}
movieClip 186 {
}
button 188 {
on (release) {
gotoAndPlay(8);
}
on (release) {
stopAllSounds();
}
}
button 190 {
on (release) {
gotoAndPlay(3);
}
}
button 192 {
on (release) {
gotoAndPlay(3352);
}
on (release) {
stopAllSounds();
}
}
frame 3 {
stop();
}
button 199 {
on (release) {
gotoAndPlay(2);
}
}
button 201 {
on (release) {
gotoAndPlay(4);
}
}
frame 4 {
stop();
}
button 205 {
on (release) {
gotoAndPlay(5);
}
}
button 207 {
on (release) {
gotoAndPlay(3);
}
}
frame 5 {
stop();
}
button 211 {
on (release) {
gotoAndPlay(6);
}
}
button 212 {
on (release) {
gotoAndPlay(4);
}
}
frame 6 {
stop();
}
button 216 {
on (release) {
gotoAndPlay(5);
}
}
movieClip 236 {
}
movieClip 241 {
}
movieClip 268 {
frame 7 {
stop();
}
}
movieClip 271 {
}
movieClip 313 {
}
movieClip 314 {
}
movieClip 318 {
}
movieClip 320 {
frame 8 {
stop();
}
}
movieClip 323 {
}
movieClip 339 {
}
movieClip 341 {
}
movieClip 342 {
}
movieClip 344 {
}
movieClip 351 {
}
movieClip 380 {
}
movieClip 398 {
}
movieClip 412 {
}
movieClip 418 {
}
movieClip 485 {
}
movieClip 503 {
}
movieClip 590 {
}
movieClip 593 {
}
movieClip 595 {
}
movieClip 614 {
}
movieClip 686 {
}
movieClip 687 {
}
movieClip 691 {
}
movieClip 730 {
}
movieClip 758 {
}
movieClip 759 {
}
movieClip 761 {
}
movieClip 788 {
}
movieClip 789 {
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;
}
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 820 {
}
movieClip 841 {
}
movieClip 913 {
}
movieClip 920 {
frame 6 {
stop();
}
}
movieClip 929 {
frame 4 {
stop();
}
}
movieClip 953 {
}
movieClip 960 {
frame 6 {
stop();
}
}
movieClip 974 {
frame 13 {
stop();
}
}
movieClip 991 {
}
movieClip 993 {
}
movieClip 994 {
frame 10 {
stop();
}
}
movieClip 996 {
}
movieClip 997 {
frame 10 {
stop();
}
}
movieClip 998 {
}
movieClip 1005 {
frame 6 {
stop();
}
}
movieClip 1016 {
frame 5 {
stop();
}
}
movieClip 1021 {
}
movieClip 1052 {
frame 15 {
stop();
}
}
movieClip 1065 {
}
movieClip 1072 {
frame 3 {
stop();
}
}
movieClip 1075 {
}
movieClip 1078 {
}
movieClip 1089 {
}
movieClip 1092 {
}
movieClip 1104 {
}
movieClip 1106 {
}
movieClip 1109 {
}
movieClip 1110 {
}
movieClip 1113 {
}
movieClip 1116 {
}
movieClip 1131 {
}
movieClip 1150 {
}
movieClip 1157 {
frame 5 {
stop();
}
}
movieClip 1182 {
}
movieClip 1189 {
frame 3 {
stop();
}
}
movieClip 1200 {
}
movieClip 1212 {
}
movieClip 1239 {
}
movieClip 1250 {
}
movieClip 1261 {
}
movieClip 1274 {
}
movieClip 1277 {
}
movieClip 1286 {
}
movieClip 1297 {
}
movieClip 1307 {
}
movieClip 1309 {
}
movieClip 1310 {
}
movieClip 1344 {
frame 7 {
stop();
}
}
movieClip 1439 {
}
movieClip 1449 {
}
movieClip 1481 {
}
movieClip 1510 {
}
movieClip 1530 {
}
movieClip 1555 {
}
movieClip 1609 {
}
movieClip 1632 {
}
movieClip 1709 {
}
movieClip 1752 {
}
movieClip 1785 {
}
movieClip 1801 {
}
movieClip 1805 {
}
movieClip 1806 {
}
movieClip 1871 {
}
movieClip 1873 {
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 1897 {
}
movieClip 1920 {
}
movieClip 1921 {
}
movieClip 1947 {
}
movieClip 1987 {
}
movieClip 1988 {
}
movieClip 2006 {
}
movieClip 2028 {
}
movieClip 2033 {
}
movieClip 2034 {
}
movieClip 2037 {
}
movieClip 2038 {
}
movieClip 2059 {
}
movieClip 2069 {
}
movieClip 2070 {
}
movieClip 2089 {
}
movieClip 2101 {
}
movieClip 2104 {
}
movieClip 2116 {
}
movieClip 2120 {
}
movieClip 2165 {
}
movieClip 2171 {
}
movieClip 2180 {
}
movieClip 2188 {
}
movieClip 2195 {
}
movieClip 2209 {
}
movieClip 2210 {
}
movieClip 2214 {
}
movieClip 2219 {
}
movieClip 2234 {
}
movieClip 2241 {
}
movieClip 2261 {
}
movieClip 2265 {
}
movieClip 2267 {
}
movieClip 2269 {
}
movieClip 2271 {
}
movieClip 2282 {
}
movieClip 2294 {
}
movieClip 2297 {
}
movieClip 2299 {
}
movieClip 2300 {
}
movieClip 2302 {
}
movieClip 2307 {
}
movieClip 2309 {
}
movieClip 2311 {
}
movieClip 2314 {
}
movieClip 2316 {
}
movieClip 2318 {
}
movieClip 2320 {
}
movieClip 2322 {
}