Combined Code
movieClip 6 {
}
movieClip 9 {
}
movieClip 19 {
}
movieClip 22 {
frame 40 {
stop();
}
}
movieClip 34 {
}
button 36 {
on (press) {
_root.play();
}
}
button 37 {
on (press) {
_root.play();
}
}
movieClip 38 {
frame 1 {
function onEnterFrame() {
if (!loaded) {
var v3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (v3 >= 1) {
if (firstframe) {
gotoAndStop('loaded');
} else {
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;
firstframe = false;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.33333333333334;
var timeAccum = 0;
var firstframe = true;
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 53 {
}
}
movieClip 40 {
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 50 {
}
movieClip 66 {
}
movieClip 67 {
}
button 80 {
on (release) {
play();
}
}
button 84 {
on (release) {
gotoAndPlay(17);
}
}
button 88 {
on (release) {
gotoAndPlay(27);
}
}
movieClip 91 {
}
frame 11 {
stop();
}
frame 16 {
gotoAndPlay(28);
}
button 103 {
on (release) {
gotoAndPlay(28);
}
}
button 106 {
on (release) {
gotoAndPlay(1582);
}
}
button 109 {
on (release) {
gotoAndPlay(2858);
}
}
button 112 {
on (release) {
gotoAndPlay(3457);
}
}
button 115 {
on (release) {
gotoAndPlay(4166);
}
}
button 118 {
on (release) {
gotoAndPlay(5646);
}
}
button 121 {
on (release) {
gotoAndPlay(6562);
}
}
button 124 {
on (release) {
gotoAndPlay(7709);
}
}
button 127 {
on (release) {
gotoAndStop(11);
}
}
frame 23 {
stop();
}
frame 27 {
stop();
}
button 149 {
on (release) {
gotoAndPlay(8822);
}
}
button 156 {
on (release) {
gotoAndPlay(9260);
}
}
movieClip 164 {
}
movieClip 178 {
}
movieClip 181 {
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 203 {
}
movieClip 208 {
}
movieClip 210 {
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 229 {
}
movieClip 234 {
}
movieClip 236 {
}
movieClip 241 {
}
movieClip 242 {
}
movieClip 283 {
}
movieClip 352 {
}
movieClip 358 {
}
movieClip 361 {
}
movieClip 364 {
}
movieClip 372 {
}
movieClip 373 {
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 382 {
}
movieClip 422 {
}
movieClip 431 {
}
movieClip 435 {
}
movieClip 442 {
}
movieClip 443 {
}
movieClip 445 {
}
movieClip 531 {
}
movieClip 586 {
}
movieClip 611 {
}
movieClip 613 {
}
movieClip 627 {
}
movieClip 684 {
}
movieClip 710 {
}
movieClip 763 {
}
movieClip 767 {
}
movieClip 768 {
}
movieClip 803 {
}
movieClip 839 {
}
movieClip 841 {
}
movieClip 849 {
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 850 {
}
movieClip 853 {
}
movieClip 854 {
}
movieClip 856 {
}
movieClip 861 {
}
movieClip 866 {
}
movieClip 874 {
}
movieClip 882 {
}
movieClip 888 {
}
frame 8821 {
gotoAndStop(11);
}
frame 9259 {
gotoAndStop(27);
}
frame 9497 {
gotoAndStop(27);
}