Combined Code
frame 1 {
stop();
}
button 5 {
on (release) {
getURL('http://www.newgrounds.com/portal/view/430500', '_blank');
}
}
button 8 {
on (release) {
getURL('http://fluidanims.com', '_blank');
}
}
movieClip 10 {
}
movieClip 11 {
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 {
startMovie();
}
}
button 20 {
on (release) {
gotoAndPlay(5736);
}
}
button 23 {
on (release) {
gotoAndPlay(24);
}
}
movieClip 25 {
}
movieClip 26 {
}
button 28 {
on (release) {
gotoAndPlay(39);
}
}
movieClip 37 {
}
// unknown tag 88 length 64
movieClip 40 {
}
frame 23 {
stop();
}
movieClip 42 {
}
frame 38 {
stop();
}
button 45 {
on (release) {
gotoAndPlay(39);
}
}
button 48 {
on (release) {
gotoAndPlay(592);
}
}
button 51 {
on (release) {
gotoAndPlay(1276);
}
}
button 53 {
on (release) {
gotoAndPlay(2202);
}
}
button 56 {
on (release) {
gotoAndPlay(4224);
}
}
button 58 {
on (release) {
gotoAndPlay(4794);
}
}
movieClip 61 {
}
movieClip 63 {
}
movieClip 65 {
}
movieClip 67 {
}
movieClip 68 {
}
movieClip 89 {
}
movieClip 91 {
}
movieClip 93 {
}
movieClip 102 {
}
movieClip 113 {
}
movieClip 116 {
}
movieClip 119 {
}
movieClip 120 {
}
movieClip 123 {
}
movieClip 124 {
}
movieClip 128 {
}
movieClip 130 {
}
movieClip 132 {
}
movieClip 134 {
}
movieClip 136 {
}
movieClip 138 {
}
movieClip 139 {
}
movieClip 140 {
}
movieClip 146 {
frame 20 {
stop();
}
}
movieClip 147 {
}
// unknown tag 88 length 63
movieClip 153 {
}
movieClip 154 {
frame 1 {
var copyrightNotice = 'Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net';
var reanimator = new flash.geom.Transform(this);
var camera = new flash.geom.Transform(this._parent);
var w = Stage.width;
var h = Stage.height;
this._visible = true;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var v2 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
v2.invert();
v2.translate(w * 0.5, h * 0.5);
camera.matrix = v2;
};
}
}
movieClip 157 {
}
movieClip 240 {
}
movieClip 249 {
}
movieClip 256 {
}
movieClip 258 {
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 = true;
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 261 {
}
movieClip 263 {
}
movieClip 264 {
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 = true;
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 267 {
}
movieClip 269 {
}
movieClip 275 {
}
movieClip 276 {
}
movieClip 279 {
}
movieClip 280 {
}
movieClip 309 {
}
movieClip 314 {
}
movieClip 332 {
}
movieClip 341 {
}
movieClip 346 {
}
movieClip 366 {
}
movieClip 372 {
}
movieClip 377 {
}
movieClip 382 {
}
movieClip 386 {
}
movieClip 414 {
}
movieClip 594 {
}
movieClip 662 {
}
movieClip 683 {
}
movieClip 720 {
}
movieClip 722 {
}
movieClip 724 {
}
movieClip 728 {
}
movieClip 730 {
}
movieClip 733 {
}
movieClip 737 {
}
movieClip 745 {
}
movieClip 748 {
}
movieClip 758 {
}
movieClip 766 {
}
movieClip 779 {
}
movieClip 812 {
}
movieClip 1405 {
}
movieClip 1421 {
}
movieClip 1423 {
}
movieClip 1425 {
}
movieClip 1443 {
}
movieClip 1452 {
}
movieClip 1628 {
}
movieClip 1705 {
}
movieClip 1716 {
}
movieClip 1757 {
}
movieClip 1797 {
}
movieClip 1819 {
}
movieClip 1822 {
}
movieClip 1824 {
}
movieClip 1826 {
}
movieClip 1828 {
}
movieClip 1830 {
}
movieClip 1832 {
}
movieClip 1833 {
}
movieClip 1836 {
}
movieClip 1841 {
}
movieClip 1845 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 2) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
_visible = true;
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
}
movieClip 2098 {
}
movieClip 2124 {
}
movieClip 2268 {
}
movieClip 2272 {
}
movieClip 2307 {
}
movieClip 2511 {
}
movieClip 2559 {
}
movieClip 2561 {
}
movieClip 2563 {
}
movieClip 2564 {
}
movieClip 2595 {
}
movieClip 2596 {
}
movieClip 2624 {
}
movieClip 2666 {
}
movieClip 2673 {
}
movieClip 2691 {
}
movieClip 2698 {
}
movieClip 2700 {
}
movieClip 2701 {
}
movieClip 2772 {
}
// unknown tag 88 length 69
// unknown tag 88 length 99
movieClip 2901 {
}
movieClip 2909 {
}
movieClip 2916 {
}
movieClip 2932 {
}
movieClip 2935 {
}
movieClip 2992 {
}
movieClip 2995 {
}
movieClip 3028 {
}
movieClip 3059 {
}
// unknown tag 88 length 149
movieClip 3104 {
}
movieClip 3532 {
}
movieClip 3566 {
}
movieClip 3780 {
}
movieClip 3809 {
}
movieClip 3816 {
}
movieClip 3820 {
}
movieClip 3824 {
}
movieClip 3830 {
}
movieClip 3838 {
}
movieClip 3843 {
}
movieClip 3844 {
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 = true;
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 3867 {
}
movieClip 3869 {
}
movieClip 3871 {
}
movieClip 3900 {
}
movieClip 4533 {
}
movieClip 4538 {
}
movieClip 4550 {
}
movieClip 4640 {
}
movieClip 4644 {
}
movieClip 4648 {
}
movieClip 4650 {
}
movieClip 4733 {
}
movieClip 4737 {
}
movieClip 4830 {
}
movieClip 4837 {
}
movieClip 4839 {
}
movieClip 4861 {
}
movieClip 4873 {
}
movieClip 4877 {
}
movieClip 4879 {
}
movieClip 4882 {
}
movieClip 4917 {
}
movieClip 4919 {
}
movieClip 4946 {
}
movieClip 4948 {
}
movieClip 5141 {
}
movieClip 5144 {
}
movieClip 5158 {
}
movieClip 5164 {
}
movieClip 5181 {
}
movieClip 5184 {
}
movieClip 5197 {
}
movieClip 5205 {
}
movieClip 5207 {
}
movieClip 5323 {
}
movieClip 5325 {
}
movieClip 5327 {
}
movieClip 5344 {
}
movieClip 5353 {
}
movieClip 5365 {
}
movieClip 5367 {
}
movieClip 5370 {
}
movieClip 5373 {
}
movieClip 5374 {
}
movieClip 5378 {
}
movieClip 5381 {
}
movieClip 5383 {
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 = true;
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;
}
}
// unknown tag 88 length 68
movieClip 5418 {
}
movieClip 5446 {
}
movieClip 5448 {
}
movieClip 5450 {
}
movieClip 5454 {
}
movieClip 5458 {
}
movieClip 5467 {
}
movieClip 5471 {
}
movieClip 5571 {
}
movieClip 5573 {
}
movieClip 5575 {
}
movieClip 5580 {
frame 7 {
stop();
}
}
movieClip 5679 {
}
movieClip 5784 {
}
movieClip 5906 {
}
movieClip 5930 {
}
movieClip 5939 {
}
movieClip 5975 {
}
movieClip 6242 {
}
movieClip 6250 {
}
movieClip 6254 {
}
movieClip 6256 {
}
// unknown tag 88 length 151
movieClip 6274 {
}
movieClip 6275 {
}
movieClip 6277 {
}
movieClip 6283 {
}
movieClip 6286 {
}
movieClip 6288 {
}
movieClip 6334 {
}
movieClip 6495 {
}
movieClip 6648 {
}
movieClip 6708 {
}
movieClip 6783 {
}
movieClip 6805 {
}
movieClip 6811 {
}
movieClip 6922 {
}
movieClip 7007 {
}
movieClip 7049 {
}
movieClip 7097 {
frame 9 {
stop();
}
}
movieClip 7109 {
}
movieClip 7228 {
}
movieClip 7304 {
}
movieClip 7305 {
frame 1 {
function getPosNow() {
var v2 = {'x': 0, 'y': 0};
var v1 = {'x': 0, 'y': 0};
localToGlobal(v2);
lineMC.localToGlobal(v1);
return {'p1': v2, 'p2': v1};
}
if (rgb == null) {
rgb = 16777215;
}
if (alpha == null) {
alpha = 100;
}
createEmptyMovieClip('shadowMC', 0);
if (shadowMC.shaQueue == null) {
shadowMC.shaQueue = new Array();
shadowMC.queueLen = Math.abs(int(queueLen));
if (shadowMC.queueLen == 0) {
shadowMC.queueLen = 10;
}
var p = getPosNow();
var i = 0;
while (i < shadowMC.queueLen) {
shadowMC.shaQueue.push(p);
++i;
}
}
onEnterFrameFunc = function () {
shadowMC.pushPos();
shadowMC.render();
};
shadowMC.pushPos = function () {
this.shaQueue.shift();
this.shaQueue.push(getPosNow());
};
shadowMC.render = function () {
this.clear();
var v10 = alpha;
var v13 = v10 / this.queueLen;
var v3 = [];
for (var v2 in this.shaQueue) {
var v5 = this.shaQueue[v2].p1;
var v8 = this.shaQueue[v2].p2;
var v6 = {'x': v5.x, 'y': v5.y};
var v9 = {'x': v8.x, 'y': v8.y};
this.globalToLocal(v6);
this.globalToLocal(v9);
v3[v2] = {'p1': v6, 'p2': v9};
}
v2 = v3.length - 1;
while (v2 > 0) {
v5 = v3[v2].p1;
v8 = v3[v2].p2;
var v4 = v3[v2 - 1].p2;
var v7 = v3[v2 - 1].p1;
this.beginFill(rgb, v10);
this.moveTo(v5.x, v5.y);
this.lineTo(v8.x, v8.y);
this.lineTo(v4.x, v4.y);
this.endFill();
this.beginFill(rgb, v10);
this.moveTo(v4.x, v4.y);
this.lineTo(v7.x, v7.y);
this.lineTo(v5.x, v5.y);
this.endFill();
v10 -= v13;
--v2;
}
};
}
}
movieClip 7306 {
frame 1 {
function onEnterFrame() {
sword.onEnterFrameFunc();
}
sword.alpha = 4;
sword.rgb = 65280;
sword.lineMC._visible = false;
sword.queueLen = 7;
}
}
movieClip 7310 {
}
movieClip 7329 {
}
movieClip 7357 {
}
movieClip 7428 {
}
movieClip 7531 {
}
movieClip 7620 {
}
movieClip 7735 {
}
movieClip 7742 {
}
movieClip 7788 {
}
movieClip 7931 {
}
movieClip 7935 {
}
movieClip 8049 {
}
movieClip 8114 {
frame 12 {
stop();
}
}
movieClip 8149 {
frame 10 {
stop();
}
}
movieClip 8184 {
}
movieClip 8426 {
}
movieClip 8437 {
frame 12 {
stop();
}
}
movieClip 8457 {
}
movieClip 8476 {
frame 27 {
stop();
}
}
movieClip 8499 {
frame 12 {
stop();
}
}
movieClip 8508 {
frame 11 {
stop();
}
}
movieClip 8524 {
}
movieClip 8663 {
}
movieClip 8666 {
}
movieClip 8670 {
}
movieClip 8676 {
}
movieClip 8679 {
}
movieClip 8686 {
}
movieClip 8691 {
}
movieClip 8761 {
}
movieClip 8784 {
}
movieClip 8830 {
}
movieClip 8837 {
}
movieClip 8908 {
}
movieClip 8915 {
}
movieClip 8918 {
}
movieClip 8924 {
}
movieClip 8926 {
}
movieClip 8937 {
}
movieClip 8951 {
}
movieClip 8970 {
}
movieClip 8991 {
}
movieClip 9014 {
}
movieClip 9028 {
}
movieClip 9082 {
}
movieClip 9086 {
}
movieClip 9087 {
frame 6 {
stop();
}
}
movieClip 9128 {
}
movieClip 9158 {
}
movieClip 9251 {
}
movieClip 9374 {
}
movieClip 9515 {
}
movieClip 9592 {
}
movieClip 9672 {
}
movieClip 9782 {
}
movieClip 9887 {
}
movieClip 9987 {
}
movieClip 10055 {
}
movieClip 10057 {
}
movieClip 10059 {
}
movieClip 10061 {
}
movieClip 10063 {
}
movieClip 10065 {
}
movieClip 10067 {
}
movieClip 10069 {
}
movieClip 10071 {
}
movieClip 10073 {
}
movieClip 10075 {
}
movieClip 10077 {
}
movieClip 10079 {
}
movieClip 10081 {
}
movieClip 10083 {
}
movieClip 10085 {
}
movieClip 10096 {
}
movieClip 10098 {
frame 1 {
function onEnterFrame() {
sword.onEnterFrameFunc();
}
sword.alpha = 200;
sword.rgb = 65280;
sword.lineMC._visible = false;
sword.queueLen = 2;
}
}
movieClip 10138 {
}
movieClip 10148 {
}
movieClip 10150 {
}
movieClip 10213 {
}
movieClip 10216 {
}
movieClip 10217 {
frame 6 {
stop();
}
}
movieClip 10391 {
}
movieClip 10398 {
frame 4 {
stop();
}
}
movieClip 10402 {
}
movieClip 10404 {
}
movieClip 10406 {
}
movieClip 10408 {
}
movieClip 10410 {
}
movieClip 10412 {
}
movieClip 10414 {
}
movieClip 10416 {
}
movieClip 10418 {
}
movieClip 10427 {
}
movieClip 10428 {
}
movieClip 10429 {
}
movieClip 10448 {
}
movieClip 10462 {
}
movieClip 10481 {
}
movieClip 10504 {
}
movieClip 10511 {
}
movieClip 10536 {
}
movieClip 10554 {
}
movieClip 10556 {
}
movieClip 10564 {
}
movieClip 10568 {
}
movieClip 10570 {
}
movieClip 10576 {
}
movieClip 10580 {
}
movieClip 10584 {
}
movieClip 10599 {
}
button 10605 {
on (release) {
getURL('http://www.fluidanims.com/store.php', '_blank');
}
}
button 10609 {
on (release) {
gotoAndPlay(1);
}
}
button 10612 {
on (release) {
getURL('http://www.newgrounds.com/portal/view/430500', '_blank');
}
}
movieClip 10615 {
}
movieClip 10627 {
}
// unknown tag 88 length 94
movieClip 10661 {
}
button 10671 {
on (release) {
gotoAndPlay(1);
}
}
movieClip 10674 {
}
button 10679 {
on (release) {
getURL('http://www.newgrounds.com/portal/view/430500', '_blank');
}
}
button 10683 {
on (release) {
getURL('http://www.newgrounds.com/portal/view/550552', '_blank');
}
}
button 10687 {
on (release) {
getURL('http://www.newgrounds.com/portal/view/546029', '_blank');
}
}
frame 6878 {
stop();
}