Combined Code
movieClip 24 {
}
movieClip 31 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var v4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * v4;
if (v4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop('loaded');
}
return undefined;
}
}
dt = getTimer() - time;
time += dt;
frameAccum += dt;
var v3 = 0;
for (;;) {
if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break;
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
frameAccum -= FRAME_TIME;
v3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return undefined;
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof clip[childName] == 'movieclip') {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.33333333333334;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
}
frame 37 {
startMovie();
}
}
frame 2 {
stop();
}
// unknown tag 88 length 69
// unknown tag 88 length 74
button 39 {
on (release) {
gotoAndStop(3);
}
}
button 41 {
on (release) {
gotoAndStop(3);
}
}
frame 3 {
stop();
}
button 46 {
on (release) {
gotoAndStop(4);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('Music_Intro');
gunShot.start(0, 9999999);
}
}
frame 4 {
stop();
}
movieClip 49 {
}
movieClip 51 {
}
movieClip 60 {
}
button 61 {
on (release) {
gotoAndStop(6);
}
}
// unknown tag 88 length 69
button 65 {
on (release) {
gotoAndStop(5);
}
}
button 66 {
on (release) {
stopAllSounds();
gotoAndPlay(478);
}
}
frame 5 {
stop();
}
movieClip 67 {
}
button 69 {
on (release) {
gotoAndStop(4);
}
}
movieClip 74 {
}
movieClip 77 {
}
movieClip 80 {
}
movieClip 83 {
}
movieClip 86 {
}
frame 6 {
stop();
}
movieClip 89 {
}
button 91 {
on (release) {
gotoAndStop(7);
}
}
// unknown tag 88 length 59
frame 7 {
stop();
}
frame 7 {
LightCircle.cacheAsBitmap = true;
LightShine.cacheAsBitmap = true;
LightShine.setMask('LightCircle');
var seeTheLight = false;
LightShine._visible = true;
LightButton.onRelease = function () {
if (!seeTheLight) {
LightShine._visible = true;
seeTheLight = true;
} else {
LightShine._visible = false;
seeTheLight = false;
}
};
}
movieClip 98 {
}
movieClip 100 {
}
movieClip 101 {
}
movieClip 102 {
}
movieClip 104 {
}
instance LightCircle of movieClip 104 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 107 {
on (release) {
var gunShot = new Sound(this);
gunShot.attachSound('LightClick1');
gunShot.start();
}
}
button 110 {
on (release) {
gotoAndPlay(8);
}
}
movieClip 112 {
}
movieClip 113 {
}
frame 70 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('Music_MainGate');
gunShot.start(0, 9999999);
stop();
}
frame 70 {
LightCircle.cacheAsBitmap = true;
LightShine.cacheAsBitmap = true;
LightShine.setMask('LightCircle');
var seeTheLight = false;
LightShine._visible = false;
LightButton.onRelease = function () {
if (!seeTheLight) {
LightShine._visible = true;
seeTheLight = true;
} else {
LightShine._visible = false;
seeTheLight = false;
}
};
}
movieClip 119 {
}
instance LightCircle of movieClip 104 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 123 {
on (release) {
gotoAndPlay(71);
}
}
frame 71 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('SkiMusic1');
gunShot.start(0, 9999999);
}
movieClip 124 {
}
frame 75 {
stop();
}
frame 75 {
LightCircle.cacheAsBitmap = true;
LightShine.cacheAsBitmap = true;
LightShine.setMask('LightCircle');
var seeTheLight = false;
LightShine._visible = false;
LightButton.onRelease = function () {
if (!seeTheLight) {
LightShine._visible = true;
seeTheLight = true;
} else {
LightShine._visible = false;
seeTheLight = false;
}
};
}
movieClip 130 {
}
instance LightCircle of movieClip 104 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
movieClip 140 {
}
button 144 {
on (release) {
gotoAndPlay(76);
}
}
frame 80 {
stop();
}
frame 80 {
LightCircle.cacheAsBitmap = true;
LightShine.cacheAsBitmap = true;
LightShine.setMask('LightCircle');
var seeTheLight = false;
LightShine._visible = false;
LightButton.onRelease = function () {
if (!seeTheLight) {
LightShine._visible = true;
seeTheLight = true;
} else {
LightShine._visible = false;
seeTheLight = false;
}
};
}
movieClip 153 {
}
button 157 {
on (release) {
gotoAndPlay(72);
}
}
button 161 {
on (release) {
gotoAndPlay(81);
}
}
instance LightCircle of movieClip 104 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
frame 85 {
stop();
}
button 171 {
on (release) {
gotoAndPlay(76);
}
}
button 183 {
on (release) {
stopAllSounds();
gotoAndPlay(86);
}
}
button 185 {
on (release) {
stopAllSounds();
gotoAndPlay(1123);
}
}
movieClip 196 {
}
button 198 {
on (release) {
gotoAndPlay(1113);
stopAllSounds();
}
}
button 208 {
on (release) {
gotoAndStop(150);
}
}
frame 146 {
gotoAndPlay(1113);
}
frame 150 {
stop();
}
frame 150 {
var gunShot = new Sound(this);
gunShot.attachSound('Crash');
gunShot.start();
}
button 216 {
on (release) {
gotoAndPlay(155);
}
}
button 221 {
on (release) {
gotoAndStop(215);
}
}
frame 211 {
gotoAndPlay(1113);
}
frame 215 {
stop();
}
frame 215 {
var gunShot = new Sound(this);
gunShot.attachSound('Crash');
gunShot.start();
}
button 224 {
on (release) {
gotoAndPlay(220);
}
}
button 231 {
on (release) {
gotoAndStop(275);
}
}
frame 271 {
gotoAndPlay(1113);
}
frame 275 {
stop();
}
frame 275 {
var gunShot = new Sound(this);
gunShot.attachSound('Crash');
gunShot.start();
}
button 234 {
on (release) {
gotoAndPlay(280);
}
}
button 240 {
on (release) {
gotoAndStop(325);
}
}
frame 321 {
gotoAndPlay(1113);
}
frame 325 {
stop();
}
frame 325 {
var gunShot = new Sound(this);
gunShot.attachSound('Crash');
gunShot.start();
}
button 243 {
on (release) {
gotoAndPlay(1118);
}
}
frame 330 {
stop();
}
frame 330 {
LightCircle.cacheAsBitmap = true;
LightShine.cacheAsBitmap = true;
LightShine.setMask('LightCircle');
var seeTheLight = false;
LightShine._visible = false;
LightButton.onRelease = function () {
if (!seeTheLight) {
LightShine._visible = true;
seeTheLight = true;
} else {
LightShine._visible = false;
seeTheLight = false;
}
};
}
movieClip 249 {
}
instance LightCircle of movieClip 104 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 253 {
on (release) {
gotoAndPlay(331);
}
}
movieClip 261 {
}
movieClip 265 {
}
frame 335 {
stop();
}
frame 335 {
LightCircle.cacheAsBitmap = true;
LightShine.cacheAsBitmap = true;
LightShine.setMask('LightCircle');
var seeTheLight = false;
LightShine._visible = false;
LightButton.onRelease = function () {
if (!seeTheLight) {
LightShine._visible = true;
seeTheLight = true;
} else {
LightShine._visible = false;
seeTheLight = false;
}
};
}
movieClip 268 {
}
movieClip 269 {
}
instance LightCircle of movieClip 104 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 283 {
on (release) {
gotoAndPlay(336);
}
}
movieClip 288 {
}
movieClip 291 {
}
frame 340 {
stop();
}
button 298 {
on (release) {
gotoAndStop(345);
}
}
button 300 {
on (release) {
gotoAndStop(350);
}
}
button 310 {
on (release) {
gotoAndPlay(331);
}
}
frame 345 {
stop();
}
button 315 {
on (release) {
gotoAndStop(355);
}
}
instance of movieClip 288 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
frame 350 {
stop();
}
instance of movieClip 291 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 322 {
on (release) {
gotoAndStop(355);
}
}
frame 355 {
stop();
}
button 324 {
on (release) {
gotoAndPlay(365);
}
}
button 325 {
on (release) {
gotoAndPlay(356);
}
}
movieClip 330 {
}
movieClip 331 {
}
instance of movieClip 331 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
frame 360 {
stop();
}
frame 360 {
LightCircle.cacheAsBitmap = true;
LightShine.cacheAsBitmap = true;
LightShine.setMask('LightCircle');
var seeTheLight = false;
LightShine._visible = false;
LightButton.onRelease = function () {
if (!seeTheLight) {
LightShine._visible = true;
seeTheLight = true;
} else {
LightShine._visible = false;
seeTheLight = false;
}
};
}
instance LightCircle of movieClip 104 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 332 {
on (release) {
gotoAndPlay(351);
}
}
instance of movieClip 331 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
movieClip 338 {
}
movieClip 341 {
}
movieClip 342 {
}
frame 415 {
stop();
}
button 347 {
on (release) {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('Valve');
gunShot.start();
gotoAndPlay(416);
}
}
frame 420 {
stop();
}
button 350 {
on (release) {
gotoAndPlay(421);
}
}
frame 425 {
stop();
}
frame 425 {
LightCircle.cacheAsBitmap = true;
LightShine.cacheAsBitmap = true;
LightShine.setMask('LightCircle');
var seeTheLight = false;
LightShine._visible = false;
LightButton.onRelease = function () {
if (!seeTheLight) {
LightShine._visible = true;
seeTheLight = true;
} else {
LightShine._visible = false;
seeTheLight = false;
}
};
}
movieClip 351 {
}
instance LightCircle of movieClip 104 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
instance of movieClip 331 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 355 {
on (release) {
gotoAndPlay(430);
}
}
movieClip 359 {
}
movieClip 361 {
}
movieClip 363 {
}
movieClip 365 {
}
movieClip 367 {
}
movieClip 369 {
}
movieClip 371 {
}
movieClip 373 {
}
movieClip 375 {
}
movieClip 377 {
}
movieClip 379 {
}
movieClip 381 {
}
movieClip 383 {
}
movieClip 385 {
}
movieClip 386 {
}
movieClip 388 {
}
movieClip 390 {
}
movieClip 391 {
}
frame 481 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('01');
gunShot.start();
}
frame 482 {
stop();
}
button 392 {
on (release) {
gotoAndPlay(1051);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('13');
gunShot.start();
}
}
button 393 {
on (release) {
gotoAndPlay(486);
stopAllSounds();
}
}
button 394 {
on (release) {
gotoAndStop(483);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('02');
gunShot.start();
}
}
button 395 {
on (release) {
gotoAndStop(484);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('03');
gunShot.start();
}
}
frame 483 {
stop();
}
frame 484 {
stop();
}
button 404 {
on (release) {
gotoAndStop(485);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('04');
gunShot.start();
}
}
frame 485 {
stop();
}
button 408 {
on (release) {
gotoAndStop(482);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('You');
gunShot.start();
}
}
movieClip 413 {
}
movieClip 415 {
}
movieClip 418 {
}
movieClip 420 {
}
movieClip 423 {
}
movieClip 587 {
}
movieClip 589 {
}
movieClip 591 {
}
movieClip 593 {
}
movieClip 595 {
}
movieClip 597 {
}
movieClip 599 {
}
frame 580 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('05');
gunShot.start();
}
button 600 {
on (release) {
gotoAndPlay(642);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('You');
gunShot.start();
}
}
frame 641 {
gotoAndPlay(581);
}
movieClip 607 {
}
movieClip 609 {
}
movieClip 610 {
}
movieClip 612 {
}
movieClip 614 {
}
movieClip 616 {
}
movieClip 618 {
}
movieClip 620 {
}
movieClip 622 {
}
movieClip 624 {
}
movieClip 626 {
}
movieClip 628 {
}
button 629 {
on (release) {
gotoAndPlay(712);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('You');
gunShot.start();
}
}
button 630 {
on (release) {
gotoAndStop(485);
stopAllSounds();
}
}
frame 650 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('06');
gunShot.start();
}
frame 711 {
gotoAndPlay(651);
}
movieClip 644 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
button 645 {
on (release) {
gotoAndPlay(777);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('You');
gunShot.start();
}
}
button 647 {
on (release) {
if (PlayerCock._currentframe < PlayerCock._totalframes) {
PlayerCock.nextFrame();
} else {
PlayerCock.gotoAndStop(1);
}
}
on (release) {
if (PlayerCock2._currentframe < PlayerCock2._totalframes) {
PlayerCock2.nextFrame();
} else {
PlayerCock2.gotoAndStop(1);
}
}
}
button 648 {
on (release) {
gotoAndPlay(647);
stopAllSounds();
}
}
// unknown tag 88 length 282
frame 715 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('07');
gunShot.start();
}
frame 776 {
gotoAndPlay(716);
}
frame 790 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('08');
gunShot.start();
}
button 655 {
on (release) {
gotoAndPlay(852);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('You');
gunShot.start();
}
}
button 656 {
on (release) {
gotoAndPlay(712);
stopAllSounds();
}
}
frame 851 {
gotoAndPlay(791);
}
frame 891 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('09');
gunShot.start();
}
movieClip 661 {
}
button 662 {
on (release) {
gotoAndPlay(952);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('You');
gunShot.start();
}
}
button 663 {
on (release) {
gotoAndPlay(791);
stopAllSounds();
}
}
frame 951 {
gotoAndPlay(892);
}
movieClip 668 {
}
frame 966 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('10');
gunShot.start();
}
movieClip 670 {
}
movieClip 671 {
}
button 672 {
on (release) {
gotoAndPlay(976);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('11');
gunShot.start();
}
}
button 673 {
on (release) {
gotoAndPlay(892);
stopAllSounds();
}
}
frame 974 {
gotoAndPlay(967);
}
button 677 {
on (release) {
gotoAndPlay(986);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('You');
gunShot.start();
}
}
button 678 {
on (release) {
gotoAndPlay(967);
stopAllSounds();
}
}
frame 983 {
gotoAndPlay(976);
}
movieClip 692 {
}
button 693 {
on (release) {
gotoAndPlay(1133);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('You');
gunShot.start();
}
}
button 694 {
on (release) {
gotoAndPlay(976);
stopAllSounds();
}
}
frame 989 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('12');
gunShot.start();
}
frame 1050 {
gotoAndPlay(990);
}
movieClip 699 {
}
frame 1112 {
gotoAndPlay(1128);
stopAllSounds();
}
frame 1113 {
var gunShot = new Sound(this);
gunShot.attachSound('Boom1');
gunShot.start();
}
frame 1113 {
var gunShot = new Sound(this);
gunShot.attachSound('Rock_Close');
gunShot.start();
}
button 704 {
on (release) {
gotoAndPlay(81);
}
}
frame 1117 {
stop();
}
frame 1118 {
var gunShot = new Sound(this);
gunShot.attachSound('Bell');
gunShot.start();
}
button 708 {
on (release) {
gotoAndPlay(326);
}
}
frame 1122 {
stop();
}
frame 1123 {
var gunShot = new Sound(this);
gunShot.attachSound('Bell');
gunShot.start();
}
frame 1127 {
stop();
}
button 713 {
on (release) {
stopAllSounds();
gotoAndPlay(478);
}
}
frame 1132 {
stop();
}
frame 1133 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('Music_Intro');
gunShot.start(0, 999);
}
button 715 {
on (release) {
gotoAndStop(1);
stopAllSounds();
}
}
movieClip 722 {
}
movieClip 731 {
}
movieClip 732 {
frame 47 {
stop();
}
}
frame 1137 {
stop();
}
movieClip 738 {
}