Combined Code
movieClip 14 {
}
movieClip 21 {
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 29 {
on (release) {
gotoAndStop(3);
}
}
frame 3 {
stop();
}
button 35 {
on (release) {
gotoAndStop(4);
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('Music_Intro');
gunShot.start(0, 9999999);
}
}
frame 4 {
stop();
}
movieClip 38 {
}
movieClip 40 {
}
movieClip 49 {
}
button 50 {
on (release) {
gotoAndPlay(6);
}
}
// unknown tag 88 length 69
button 54 {
on (release) {
gotoAndStop(5);
}
}
frame 5 {
stop();
}
movieClip 56 {
}
button 58 {
on (release) {
gotoAndStop(4);
}
}
movieClip 63 {
}
movieClip 66 {
}
movieClip 69 {
}
frame 11 {
stop();
}
button 71 {
on (release) {
gotoAndPlay(12);
var gunShot = new Sound(this);
gunShot.attachSound('Folder1');
gunShot.start();
}
}
movieClip 76 {
}
frame 35 {
stop();
}
button 77 {
on (release) {
gotoAndPlay(36);
}
}
frame 41 {
stop();
}
// unknown tag 88 length 59
button 83 {
on (release) {
gotoAndPlay(42);
var gunShot = new Sound(this);
gunShot.attachSound('Unwrap');
gunShot.start();
}
}
frame 47 {
stop();
}
button 89 {
on (release) {
gotoAndStop(48);
var gunShot = new Sound(this);
gunShot.attachSound('LightClick1');
gunShot.start();
}
}
frame 48 {
stop();
}
frame 48 {
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 91 {
}
movieClip 94 {
}
movieClip 95 {
}
movieClip 97 {
}
instance LightCircle of movieClip 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 100 {
on (release) {
var gunShot = new Sound(this);
gunShot.attachSound('LightClick1');
gunShot.start();
}
}
button 104 {
on (release) {
gotoAndPlay(49);
}
}
movieClip 106 {
}
frame 111 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('Music_MainGate');
gunShot.start(0, 9999999);
stop();
}
frame 111 {
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 113 {
}
instance LightCircle of movieClip 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 117 {
on (release) {
gotoAndStop(112);
}
}
frame 112 {
stop();
}
movieClip 122 {
}
button 124 {
on (release) {
gotoAndStop(113);
}
}
frame 113 {
stop();
}
frame 113 {
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 129 {
}
movieClip 131 {
}
movieClip 132 {
}
movieClip 133 {
}
instance LightCircle of movieClip 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 136 {
on (release) {
gotoAndPlay(114);
}
}
frame 114 {
stopAllSounds();
}
movieClip 141 {
}
frame 117 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('Music_Pirates1');
gunShot.start(0, 9999999);
}
frame 118 {
stop();
}
frame 118 {
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 145 {
}
instance LightCircle of movieClip 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
movieClip 155 {
}
button 159 {
on (release) {
gotoAndPlay(119);
}
}
frame 123 {
stop();
}
frame 123 {
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 181 {
}
instance LightCircle of movieClip 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 192 {
on (release) {
gotoAndPlay(124);
}
}
movieClip 195 {
}
frame 128 {
stop();
}
frame 128 {
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 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 198 {
on (release) {
gotoAndPlay(133);
}
}
frame 133 {
stopAllSounds();
stop();
}
frame 133 {
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 202 {
}
movieClip 227 {
}
movieClip 230 {
}
// unknown tag 88 length 63
movieClip 236 {
}
movieClip 242 {
}
movieClip 243 {
}
movieClip 245 {
}
movieClip 247 {
}
// unknown tag 88 length 155
movieClip 253 {
}
movieClip 255 {
}
instance of movieClip 255 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
movieClip 258 {
}
instance LightCircle of movieClip 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 267 {
on (release) {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('Bell');
gunShot.start();
gotoAndPlay(134);
}
}
movieClip 272 {
}
button 276 {
on (release) {
gotoAndPlay(638);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 279 {
frame 1 {
stop();
}
}
instance PlayerCock of movieClip 279 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 283 {
on (release) {
gotoAndPlay(633);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
button 285 {
on (release) {
gotoAndPlay(182);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 286 {
}
button 287 {
on (release) {
gotoAndPlay(242);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 288 {
}
button 289 {
on (release) {
gotoAndPlay(302);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 290 {
}
button 291 {
on (release) {
gotoAndPlay(347);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 292 {
}
button 293 {
on (release) {
gotoAndPlay(387);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 294 {
}
button 295 {
on (release) {
gotoAndPlay(427);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 296 {
}
button 297 {
on (release) {
gotoAndPlay(467);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 298 {
}
button 299 {
on (release) {
gotoAndPlay(502);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 300 {
}
button 301 {
on (release) {
gotoAndPlay(522);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 302 {
}
button 303 {
on (release) {
gotoAndPlay(542);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 304 {
}
button 305 {
on (release) {
gotoAndPlay(562);
PlayerCock.gotoAndStop(1);
}
on (press) {
var gunShot = new Sound(this);
gunShot.attachSound('Hit');
gunShot.start();
PlayerCock.gotoAndPlay(2);
}
}
movieClip 306 {
}
frame 582 {
var gunShot = new Sound(this);
gunShot.attachSound('Bell');
gunShot.start();
}
movieClip 309 {
}
movieClip 310 {
}
frame 592 {
stop();
}
button 311 {
on (release) {
gotoAndStop(593);
}
}
frame 593 {
stop();
}
button 315 {
on (release) {
gotoAndPlay(594);
}
}
frame 594 {
stopAllSounds();
var gunShot = new Sound(this);
gunShot.attachSound('Music_Pirates1');
gunShot.start(0, 9999999);
}
frame 598 {
stop();
}
frame 598 {
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 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 316 {
on (release) {
gotoAndPlay(599);
}
}
button 326 {
on (release) {
gotoAndPlay(604);
}
}
frame 603 {
stop();
}
frame 603 {
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 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 327 {
on (release) {
gotoAndPlay(595);
}
}
frame 608 {
stop();
}
frame 608 {
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 333 {
}
movieClip 334 {
}
instance LightCircle of movieClip 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 337 {
on (release) {
gotoAndStop(609);
}
}
button 357 {
on (release) {
gotoAndPlay(595);
}
}
frame 609 {
stop();
}
frame 609 {
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 360 {
}
movieClip 361 {
}
button 362 {
on (release) {
var gunShot = new Sound(this);
gunShot.attachSound('Unlock');
gunShot.start();
gotoAndStop(610);
}
}
movieClip 364 {
}
instance of movieClip 364 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
frame 610 {
stop();
}
frame 610 {
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 369 {
}
button 370 {
on (release) {
gotoAndPlay(611);
}
}
movieClip 375 {
}
instance of movieClip 375 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
frame 611 {
stop();
}
frame 611 {
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 377 {
}
button 379 {
on (release) {
gotoAndPlay(612);
}
}
frame 616 {
stop();
}
frame 616 {
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 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 380 {
on (release) {
gotoAndPlay(617);
}
}
frame 621 {
stop();
}
frame 621 {
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 389 {
}
instance LightCircle of movieClip 97 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
button 391 {
on (release) {
gotoAndPlay(622);
}
}
frame 626 {
stop();
}
frame 626 {
stopAllSounds();
}
button 397 {
on (release) {
gotoAndPlay(632);
}
}
frame 631 {
stop();
}
frame 631 {
stopAllSounds();
}
frame 632 {
stop();
}
movieClip 403 {
}
movieClip 405 {
}
movieClip 407 {
}
movieClip 409 {
}
movieClip 411 {
}
movieClip 413 {
}
movieClip 415 {
}
movieClip 417 {
}
movieClip 419 {
}
movieClip 421 {
}
movieClip 423 {
}
movieClip 425 {
}
movieClip 427 {
}
movieClip 429 {
}
movieClip 431 {
}
movieClip 433 {
}
movieClip 434 {
}
movieClip 436 {
}
movieClip 438 {
}
movieClip 439 {
}
frame 633 {
var gunShot = new Sound(this);
gunShot.attachSound('Boom1');
gunShot.start();
}
button 447 {
on (release) {
gotoAndStop(133);
}
}
frame 637 {
stop();
}
frame 638 {
var gunShot = new Sound(this);
gunShot.attachSound('Bell');
gunShot.start();
}
button 451 {
on (release) {
gotoAndStop(592);
}
}
frame 642 {
stop();
}