Combined Code
frame 1 {
stop();
}
movieClip 12 {
}
movieClip 15 {
frame 100 {
gotoAndPlay(50);
}
}
movieClip 20 {
}
movieClip 26 {
}
button 28 {
on (press) {
_root.play('Scene 1', 2);
}
}
movieClip 29 {
frame 1 {
function onEnterFrame() {
if (!loaded) {
var v3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (v3 >= 1) {
if (firstframe) {
gotoAndStop('loaded');
} else {
play();
bar._y = initY;
}
loaded = true;
} else {
bar._y = initY - (v3 - 1) * bar._height;
}
}
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 initY = bar._y;
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 42 {
}
}
movieClip 39 {
}
movieClip 46 {
}
movieClip 49 {
}
movieClip 59 {
}
movieClip 62 {
}
movieClip 64 {
}
movieClip 68 {
}
movieClip 177 {
}
movieClip 179 {
}
movieClip 191 {
}
movieClip 197 {
}
movieClip 201 {
}
movieClip 203 {
}
movieClip 205 {
}
movieClip 241 {
}
movieClip 247 {
}
movieClip 249 {
}
movieClip 253 {
}
movieClip 325 {
}
movieClip 327 {
}
movieClip 329 {
}
movieClip 331 {
}
movieClip 333 {
}
movieClip 335 {
}
movieClip 337 {
}
movieClip 339 {
}
movieClip 341 {
}
movieClip 347 {
}
movieClip 556 {
}
movieClip 560 {
}
movieClip 565 {
}
movieClip 573 {
}
movieClip 574 {
}
movieClip 578 {
}
movieClip 706 {
}
movieClip 712 {
}
movieClip 938 {
}
movieClip 1012 {
}
movieClip 1015 {
}
movieClip 1057 {
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 1298 {
}
movieClip 1300 {
}
movieClip 1302 {
}
movieClip 1308 {
}
movieClip 1310 {
}
movieClip 1312 {
}
movieClip 1326 {
}
movieClip 1341 {
}
movieClip 1403 {
}
movieClip 1492 {
}
movieClip 1534 {
}
movieClip 1536 {
}
movieClip 1540 {
}
movieClip 1586 {
}
movieClip 1720 {
}
movieClip 1722 {
}
movieClip 1763 {
}
movieClip 1837 {
}
movieClip 1842 {
}
movieClip 1867 {
}
movieClip 1872 {
}
movieClip 1884 {
}
movieClip 1887 {
}
movieClip 1889 {
}
movieClip 1898 {
}
movieClip 1908 {
}
movieClip 1910 {
}
movieClip 1915 {
}
movieClip 1924 {
}
movieClip 1961 {
}
movieClip 1965 {
}
movieClip 1970 {
}
movieClip 1977 {
}
movieClip 1981 {
}
movieClip 1985 {
}
movieClip 1989 {
}
button 1991 {
on (release) {
gotoAndPlay(5026);
}
}
movieClip 1995 {
}
frame 5025 {
gotoAndStop(1);
}
movieClip 2000 {
}
movieClip 2172 {
}
frame 6205 {
gotoAndStop(1);
}