Combined Code
frame 1 {
NewgroundsAPI.connectMovie(4836);
}
movieClip 12 {
}
movieClip 32 {
}
movieClip 39 {
}
movieClip 42 {
}
movieClip 53 {
}
movieClip 57 {
}
movieClip 59 {
}
movieClip 67 {
}
movieClip 69 {
}
movieClip 73 {
}
movieClip 74 {
}
movieClip 77 {
}
movieClip 81 {
}
movieClip 84 {
}
movieClip 85 {
}
movieClip 87 {
}
movieClip 88 {
}
movieClip 89 {
}
movieClip 91 {
}
movieClip 93 {
}
movieClip 96 {
}
movieClip 111 {
}
movieClip 112 {
}
movieClip 114 {
}
movieClip 116 {
}
movieClip 118 {
}
movieClip 119 {
}
movieClip 120 {
}
movieClip 121 {
}
button 124 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 126 {
frame 40 {
stop();
}
}
movieClip 136 {
}
button 137 {
on (release) {
_root.play();
}
}
movieClip 138 {
frame 1 {
function onEnterFrame() {
if (!loaded) {
var v3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (v3 >= 1) {
play();
bar._x = initX;
loaded = true;
} else {
bar._x = initX + (v3 - 1) * bar._width;
}
}
var v4 = getTimer() - time;
timeAccum += v4;
while (timeAccum >= FRAME_TIME) {
var v2 = 0;
while (v2 < timeClips.length) {
if (timeClips[v2]._currentframe < timeClips[v2]._totalframes) {
timeClips[v2].nextFrame();
} else {
timeClips[v2].gotoAndStop(1);
}
++v2;
}
if (loaded && _currentframe < _totalframes) {
nextFrame();
}
timeAccum -= FRAME_TIME;
}
time += v4;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.33333333333334;
var timeAccum = 0;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
++i;
}
}
frame 51 {
}
}
movieClip 140 {
}
movieClip 143 {
}
movieClip 153 {
frame 40 {
stop();
}
}
movieClip 165 {
}
button 166 {
on (press) {
tellTarget ('_root') {
nextFrame();
}
}
}
button 167 {
on (press) {
gotoAndStop('end');
_root.play();
}
}
movieClip 168 {
instance of movieClip 143 {
onClipEvent (load) {
_root.stop();
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop('lastframe');
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndPlay('loaded');
}
}
}
frame 101 {
play();
}
frame 165 {
stop();
}
}
button 173 {
on (release) {
NewgroundsAPI.loadNewgrounds();
}
}
button 178 {
on (release) {
NewgroundsAPI.loadNewgrounds();
}
}
movieClip 179 {
}
movieClip 180 {
frame 1 {
function startAd(ngad_url) {
trace('opening ' + ngad_url);
System.security.allowDomain('70.87.128.99');
System.security.allowInsecureDomain('70.87.128.99');
System.security.allowDomain('ads.shizmoo.com');
System.security.allowInsecureDomain('ads.shizmoo.com');
System.security.allowDomain('www.cpmstar.com');
System.security.allowInsecureDomain('www.cpmstar.com');
System.security.allowDomain('server.cpmstar.com');
System.security.allowInsecureDomain('server.cpmstar.com');
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace('[NEWGROUNDS FLASH ADS] :: You may get a \'Security Sandbox Violation\' ... this is normal, do not freak out!');
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), 'GET');
} else {}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
}
}
movieClip 184 {
}
movieClip 189 {
}
movieClip 192 {
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 200 {
}
movieClip 217 {
}
movieClip 227 {
}
movieClip 231 {
}
movieClip 249 {
frame 44 {
stop();
}
}
movieClip 270 {
frame 57 {
stop();
}
}
movieClip 275 {
}
movieClip 320 {
}
movieClip 395 {
frame 99 {
stop();
}
}
movieClip 417 {
}
movieClip 422 {
}
movieClip 428 {
}
movieClip 430 {
}
movieClip 432 {
}
movieClip 434 {
}
movieClip 435 {
}
movieClip 439 {
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 440 {
}
movieClip 458 {
}
movieClip 459 {
}
movieClip 461 {
}
movieClip 463 {
}
movieClip 466 {
}
movieClip 467 {
}
movieClip 477 {
}
movieClip 491 {
}
movieClip 514 {
}
movieClip 517 {
}
movieClip 518 {
frame 52 {
stop();
}
}
movieClip 523 {
}
movieClip 524 {
}
movieClip 525 {
}
movieClip 526 {
}
movieClip 527 {
frame 29 {
stop();
}
}
movieClip 528 {
}
movieClip 559 {
}
movieClip 571 {
}
movieClip 577 {
}
movieClip 595 {
}
movieClip 634 {
frame 9 {
stop();
}
}
movieClip 647 {
}
movieClip 654 {
}
movieClip 657 {
}
movieClip 660 {
}
movieClip 662 {
}
movieClip 711 {
}
movieClip 728 {
frame 42 {
stop();
}
}
movieClip 742 {
}
movieClip 744 {
}
movieClip 748 {
}
movieClip 750 {
}
movieClip 759 {
}
movieClip 792 {
frame 55 {
stop();
}
}
movieClip 793 {
}
movieClip 802 {
}
movieClip 816 {
frame 32 {
stop();
}
}
movieClip 823 {
}
movieClip 927 {
}
movieClip 936 {
}
movieClip 941 {
}
movieClip 953 {
frame 38 {
stop();
}
}
movieClip 971 {
}
movieClip 972 {
}
movieClip 987 {
frame 32 {
stop();
}
}
movieClip 999 {
frame 44 {
stop();
}
}
movieClip 1005 {
}
movieClip 1016 {
frame 89 {
stop();
}
}
movieClip 1019 {
}
movieClip 1026 {
}
movieClip 1074 {
}
movieClip 1076 {
}
movieClip 1078 {
}
movieClip 1080 {
}
movieClip 1083 {
}
movieClip 1090 {
}
movieClip 1103 {
}
movieClip 1129 {
frame 18 {
stop();
}
}
movieClip 1133 {
}
movieClip 1226 {
}
movieClip 1246 {
}
movieClip 1254 {
}
movieClip 1257 {
}
movieClip 1259 {
}
movieClip 1261 {
}
movieClip 1263 {
}
movieClip 1447 {
}
movieClip 1449 {
}
movieClip 1451 {
}
movieClip 1453 {
}
movieClip 1455 {
}
movieClip 1464 {
}
movieClip 1470 {
}
movieClip 1482 {
}
movieClip 1483 {
}
movieClip 1485 {
}
movieClip 1495 {
}
movieClip 1496 {
}
movieClip 1522 {
}
movieClip 1534 {
}
movieClip 1537 {
}
movieClip 1542 {
}
movieClip 1555 {
}
movieClip 1557 {
}
movieClip 1596 {
}
movieClip 1600 {
}
movieClip 1613 {
}
movieClip 1615 {
}
movieClip 1617 {
}
movieClip 1619 {
}
movieClip 1621 {
}
movieClip 1623 {
}
movieClip 1625 {
}
movieClip 1627 {
}
movieClip 1643 {
}
movieClip 1644 {
}
movieClip 1645 {
}
movieClip 1665 {
}
movieClip 1679 {
}
movieClip 1690 {
frame 17 {
stop();
}
}
movieClip 1727 {
}
movieClip 1784 {
}
movieClip 1786 {
}
movieClip 1788 {
}
movieClip 1790 {
}
movieClip 1791 {
}
movieClip 1795 {
}
movieClip 1806 {
}
movieClip 1808 {
}
movieClip 1823 {
}
movieClip 1826 {
}
movieClip 1828 {
}
movieClip 1829 {
}
movieClip 1834 {
}
movieClip 1892 {
}
movieClip 1894 {
}
movieClip 1899 {
}
movieClip 1900 {
}
movieClip 1907 {
}
movieClip 1928 {
}
movieClip 1931 {
}
movieClip 1933 {
}
movieClip 1960 {
}
movieClip 1962 {
}
movieClip 2066 {
}
movieClip 2067 {
}
movieClip 2110 {
}