Combined Code
movieClip 4 {
}
movieClip 7 {
}
button 40 {
on (release) {
_root.play('Scene 103', 1);
}
}
movieClip 41 {
frame 1 {
function onEnterFrame() {
if (!loaded) {
var percentLoaded = _root.getBytesLoaded() / _root.getBytesTotal();
if (percentLoaded >= 1) {
play();
bar._y = initX;
loaded = true;
} else {
bar._y = initX - (percentLoaded - 1) * bar._width;
}
}
var dt = getTimer() - time;
timeAccum += dt;
while (timeAccum >= FRAME_TIME) {
var i = 0;
while (i < timeClips.length) {
if (timeClips[i]._currentframe < timeClips[i]._totalframes) {
timeClips[i].nextFrame();
} else {
timeClips[i].gotoAndStop(1);
}
++i;
}
if (loaded && _currentframe < _totalframes) {
nextFrame();
}
timeAccum -= FRAME_TIME;
}
time += dt;
}
stop();
_root.stop();
var initX = bar._y;
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.width) {
timeClips[i].stop();
++i;
}
}
frame 51 {
}
}
movieClip 50 {
}
button 57 {
on (release) {
gotoAndPlay(10542);
}
}
frame 51 {
stop();
}
movieClip 64 {
}
movieClip 67 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var scaleX = sX / this._width;
var scaleY = sY / this._height;
_parent._x = cX - this._x * scaleX;
_parent._y = cY - this._y * scaleY;
_parent._xscale = 100 * scaleX;
_parent._yscale = 100 * scaleY;
}
function resetStage() {
var resetTrans = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(resetTrans);
_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 89 {
}
movieClip 102 {
}
movieClip 110 {
}
movieClip 115 {
}
movieClip 119 {
}
movieClip 121 {
}
movieClip 123 {
}
movieClip 125 {
}
movieClip 144 {
}
movieClip 151 {
}
movieClip 158 {
}
frame 3864 {
}
movieClip 185 {
}
movieClip 194 {
}
movieClip 204 {
}
movieClip 215 {
}
movieClip 225 {
}
movieClip 230 {
}
frame 4390 {
}
movieClip 237 {
}
movieClip 239 {
}
movieClip 249 {
}
movieClip 251 {
}
movieClip 252 {
}
movieClip 253 {
}
movieClip 257 {
}
movieClip 258 {
}
movieClip 259 {
}
movieClip 260 {
}
movieClip 261 {
}
movieClip 263 {
}
movieClip 282 {
}
movieClip 296 {
frame 30 {
}
}
movieClip 307 {
}
movieClip 313 {
}
movieClip 315 {
}
movieClip 317 {
}
movieClip 319 {
}
frame 4898 {
}
movieClip 382 {
}
movieClip 407 {
}
movieClip 414 {
}
movieClip 437 {
}
movieClip 447 {
}
movieClip 460 {
frame 50 {
stop();
}
}
movieClip 466 {
frame 50 {
stop();
}
}
movieClip 477 {
frame 50 {
stop();
}
}
movieClip 481 {
}
movieClip 487 {
frame 20 {
stop();
}
}
movieClip 494 {
}
movieClip 496 {
}
movieClip 513 {
}
movieClip 516 {
}
movieClip 524 {
}
movieClip 530 {
frame 20 {
gotoAndPlay(1);
}
}
movieClip 537 {
}
movieClip 549 {
}
movieClip 556 {
}
movieClip 558 {
}
movieClip 560 {
}
movieClip 562 {
}
movieClip 564 {
}
movieClip 566 {
}
movieClip 568 {
}
movieClip 570 {
}
movieClip 572 {
}
movieClip 574 {
}
movieClip 576 {
}
movieClip 578 {
}
movieClip 580 {
}
movieClip 582 {
}
movieClip 584 {
}
movieClip 586 {
}
movieClip 588 {
}
movieClip 590 {
}
movieClip 592 {
}
movieClip 594 {
}
movieClip 596 {
}
movieClip 598 {
}
movieClip 600 {
}
movieClip 602 {
}
movieClip 604 {
}
movieClip 606 {
}
movieClip 608 {
}
movieClip 610 {
}
movieClip 615 {
}
movieClip 623 {
frame 34 {
stop();
}
}
frame 6777 {
}
movieClip 636 {
frame 40 {
stop();
}
}
movieClip 656 {
}
frame 7045 {
}
movieClip 744 {
}
movieClip 751 {
}
movieClip 753 {
}
movieClip 826 {
frame 12 {
gotoAndPlay(1);
}
}
movieClip 832 {
}
frame 8028 {
}
movieClip 883 {
}
movieClip 892 {
}
movieClip 900 {
}
movieClip 905 {
}
movieClip 915 {
}
movieClip 928 {
}
movieClip 946 {
}
movieClip 950 {
}
movieClip 958 {
}
movieClip 972 {
}
movieClip 977 {
}
movieClip 982 {
}
movieClip 1022 {
frame 9 {
}
frame 15 {
}
frame 136 {
}
}
movieClip 1028 {
}
movieClip 1030 {
}
movieClip 1032 {
}
movieClip 1046 {
}
movieClip 1049 {
}
movieClip 1051 {
}
movieClip 1053 {
}
movieClip 1059 {
}
movieClip 1061 {
}
movieClip 1063 {
}
movieClip 1065 {
}
movieClip 1067 {
}
movieClip 1069 {
}
movieClip 1071 {
}
movieClip 1073 {
}
movieClip 1075 {
}
movieClip 1077 {
}
movieClip 1079 {
}
movieClip 1081 {
}
movieClip 1083 {
}
movieClip 1085 {
}
movieClip 1096 {
}
movieClip 1102 {
}
movieClip 1158 {
}
movieClip 1160 {
}
movieClip 1162 {
}
movieClip 1214 {
}
frame 9241 {
}
movieClip 1229 {
}
movieClip 1230 {
}
movieClip 1233 {
}
movieClip 1235 {
}
movieClip 1237 {
}
movieClip 1239 {
}
movieClip 1242 {
}
movieClip 1245 {
}
movieClip 1249 {
}
movieClip 1254 {
}
movieClip 1423 {
}
movieClip 1429 {
}
movieClip 1513 {
}
movieClip 1515 {
}
movieClip 1516 {
frame 5 {
stop();
}
}
instance of movieClip 1513 {
}
movieClip 1535 {
}
movieClip 1537 {
}
movieClip 1539 {
}
movieClip 1541 {
}
movieClip 1548 {
frame 1 {
}
frame 56 {
stop();
}
}
movieClip 1809 {
}
movieClip 1822 {
}
movieClip 1835 {
}
movieClip 1848 {
}
movieClip 1861 {
}
movieClip 1862 {
}
movieClip 1867 {
}
movieClip 1869 {
}
frame 10541 {
gotoAndPlay(10543);
}
frame 10542 {
stop();
}
button 1883 {
on (press) {
gotoAndPlay(52);
}
}
button 1884 {
on (press) {
gotoAndPlay(1268);
}
}
button 1885 {
on (press) {
gotoAndPlay(3864);
}
}
button 1886 {
on (press) {
gotoAndPlay(6788);
}
}
button 1887 {
on (press) {
gotoAndPlay(8179);
}
}
button 1888 {
on (press) {
gotoAndPlay(10543);
}
}
button 1889 {
on (press) {
gotoAndPlay(12424);
}
}
button 1890 {
on (press) {
gotoAndPlay(10943);
}
}
button 1896 {
on (press) {
gotoAndPlay(2);
}
}
movieClip 1899 {
}
movieClip 1904 {
}
movieClip 1908 {
}
movieClip 1975 {
}
frame 10942 {
gotoAndPlay(12424);
}
movieClip 2025 {
}
movieClip 2027 {
}
frame 11378 {
gotoAndPlay(11379);
}
frame 12408 {
stop();
}
button 2196 {
on (press) {
gotoAndPlay(2);
}
}
movieClip 2201 {
}
movieClip 2202 {
}
movieClip 2206 {
}
movieClip 2211 {
}
movieClip 2229 {
}
movieClip 2233 {
}
movieClip 2236 {
}
movieClip 2238 {
}
movieClip 2255 {
}
movieClip 2264 {
}
movieClip 2267 {
}
movieClip 2269 {
}
movieClip 2288 {
}
movieClip 2326 {
}
movieClip 2328 {
}
movieClip 2334 {
}
movieClip 2336 {
}
frame 13497 {
gotoAndPlay(10943);
}