Combined Code
movieClip 5 {
}
movieClip 8 {
}
movieClip 19 {
}
movieClip 25 {
}
button 28 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 30 {
frame 40 {
stop();
}
}
movieClip 41 {
}
button 42 {
on (release) {
_root.play();
}
}
movieClip 43 {
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 52 {
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 54 {
frame 1788 {
stop();
}
}
movieClip 72 {
frame 140 {
stop();
}
}
movieClip 93 {
frame 1614 {
stop();
}
}
movieClip 102 {
}
movieClip 103 {
}
movieClip 136 {
}
movieClip 137 {
}
movieClip 138 {
}
movieClip 139 {
}
movieClip 140 {
}
movieClip 141 {
}
movieClip 142 {
}
movieClip 163 {
}
movieClip 167 {
}
movieClip 174 {
}
movieClip 188 {
frame 890 {
stop();
}
}
movieClip 189 {
frame 452 {
stop();
}
}
movieClip 195 {
}
movieClip 209 {
frame 262 {
stop();
}
}
movieClip 224 {
frame 420 {
stop();
}
}
movieClip 226 {
frame 267 {
stop();
}
}
movieClip 255 {
}
movieClip 257 {
}
movieClip 261 {
}
movieClip 266 {
}
movieClip 273 {
}
movieClip 282 {
}
movieClip 284 {
}
movieClip 286 {
}
movieClip 287 {
}
movieClip 288 {
}
movieClip 290 {
}
movieClip 308 {
}
movieClip 309 {
}
movieClip 311 {
}
movieClip 312 {
}
movieClip 313 {
}
movieClip 314 {
}
movieClip 315 {
}
movieClip 326 {
}
movieClip 327 {
frame 284 {
stop();
}
}
movieClip 334 {
}
movieClip 335 {
}
movieClip 336 {
}
movieClip 354 {
}
movieClip 355 {
}
movieClip 356 {
}
movieClip 358 {
}
movieClip 359 {
}
movieClip 360 {
}
movieClip 369 {
}
movieClip 373 {
}
movieClip 377 {
}
movieClip 379 {
}
movieClip 381 {
}
movieClip 383 {
}
movieClip 384 {
}
button 399 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 400 {
}