Combined Code
// unknown tag 88 length 94
movieClip 9 {
}
movieClip 13 {
}
button 22 {
on (release) {
startMovie();
}
}
movieClip 23 {
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 2 {
stop();
}
}
movieClip 28 {
}
movieClip 31 {
}
movieClip 37 {
}
movieClip 39 {
}
movieClip 116 {
}
movieClip 123 {
}
movieClip 125 {
}
movieClip 130 {
}
movieClip 171 {
}
movieClip 174 {
}
movieClip 188 {
}
movieClip 290 {
}
movieClip 307 {
}
movieClip 309 {
}
movieClip 312 {
}
movieClip 314 {
}
movieClip 316 {
}
movieClip 318 {
}
movieClip 320 {
}
button 403 {
on (release) {
gotoAndPlay(968);
}
}
button 411 {
on (release) {
gotoAndPlay(982);
}
}
button 420 {
on (release) {
gotoAndPlay(1122);
}
}
button 424 {
on (release) {
gotoAndPlay(1516);
}
}
frame 967 {
gotoAndPlay(926);
}
button 475 {
on (release) {
gotoAndPlay(926);
}
}
frame 981 {
gotoAndPlay(968);
}
frame 1121 {
stop();
}
button 710 {
on (release) {
gotoAndPlay(1351);
}
}
button 715 {
on (release) {
gotoAndPlay(1369);
}
}
button 716 {
on (release) {
gotoAndPlay(1380);
}
}
button 721 {
on (release) {
gotoAndPlay(926);
}
}
frame 1350 {
gotoAndPlay(1227);
}
button 784 {
on (release) {
gotoAndPlay(1227);
}
}
frame 1368 {
gotoAndPlay(1351);
}
frame 1379 {
gotoAndPlay(1369);
}
frame 1515 {
stop();
}
button 1039 {
on (release) {
gotoAndPlay(1673);
}
}
button 1040 {
on (release) {
gotoAndPlay(1683);
}
}
button 1041 {
on (release) {
gotoAndPlay(1739);
}
}
frame 1672 {
gotoAndPlay(1583);
}
button 1089 {
on (release) {
gotoAndPlay(1583);
}
}
frame 1682 {
gotoAndPlay(1673);
}
frame 1738 {
gotoAndPlay(1683);
}
button 1307 {
on (release) {
gotoAndPlay(1873);
}
}
frame 1872 {
stop();
}
frame 1873 {
stopAllSounds();
}
button 1320 {
on (release) {
gotoAndPlay(1);
}
}
frame 1885 {
gotoAndPlay(1873);
}