[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Combined Code (5.81 KiB) ● ●
movieClip 5 {
}
movieClip 8 {
}
movieClip 19 {
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 28 {
}
movieClip 29 {
}
movieClip 32 {
}
movieClip 36 {
}
movieClip 39 {
}
movieClip 40 {
}
movieClip 42 {
}
movieClip 43 {
}
movieClip 44 {
}
button 47 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 49 {
frame 40 {
stop();
}
}
movieClip 74 {
}
button 75 {
on (release) {
startMovie();
}
}
movieClip 76 {
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();
}
button 85 {
on (release) {
if (gallery == 1) {
gotoAndStop(287);
} else {
stop();
}
}
}
button 88 {
on (release) {
gotoAndStop(3);
}
}
frame 3 {
var queensland = 0;
var bogan = 0;
var immigrant = 0;
var center = 0;
var abo = 0;
var cooney = 0;
var nsw = 0;
stop();
}
button 96 {
on (release) {
nextFrame();
}
}
frame 12 {
play();
}
frame 28 {
stop();
dollas = 0;
}
frame 39 {
stop();
money.text = dollas;
}
button 133 {
on (release) {
if (abo == 1) {
gotoAndStop(54);
} else {
gotoAndStop(51);
}
}
}
button 135 {
on (release) {
if (queensland == 1) {
gotoAndStop(42);
} else {
gotoAndStop(40);
}
}
}
button 137 {
on (release) {
if (nsw == 1) {
gotoAndStop(85);
} else {
gotoAndStop(81);
}
}
}
button 139 {
on (release) {
if (immigrant == 1) {
gotoAndStop(47);
} else {
gotoAndStop(45);
}
}
}
button 141 {
on (release) {
if (bogan == 1) {
gotoAndStop(44);
} else {
gotoAndStop(43);
}
}
}
button 143 {
on (release) {
if (center == 1) {
gotoAndStop(50);
} else {
gotoAndStop(48);
}
}
}
button 145 {
on (release) {
if (cooney == 1) {
gotoAndStop(80);
} else {
gotoAndStop(55);
}
}
}
button 147 {
on (release) {
if (dollas == 14000) {
gotoAndPlay(87);
} else {
stop();
}
}
}
frame 40 {
stop();
}
button 154 {
on (release) {
gotoAndStop(86);
}
}
button 156 {
on (release) {
play();
}
}
frame 41 {
stop();
}
button 160 {
on (release) {
var queensland = 1;
dollas += 2000;
play();
}
}
frame 42 {
stop();
}
button 164 {
on (release) {
gotoAndStop(39);
}
}
frame 43 {
stop();
}
button 170 {
on (release) {
var bogan = 1;
dollas += 2000;
play();
}
}
frame 44 {
stop();
}
button 174 {
on (release) {
gotoAndPlay(39);
}
}
frame 45 {
stop();
}
button 180 {
on (release) {
play();
}
}
frame 46 {
stop();
}
button 183 {
on (release) {
dollas += 2000;
var immigrant = 1;
play();
}
}
frame 47 {
stop();
}
button 187 {
on (release) {
gotoAndPlay(39);
}
}
frame 48 {
stop();
}
frame 49 {
stop();
}
button 198 {
on (release) {
var center = 1;
dollas += 2000;
play();
}
}
frame 50 {
stop();
}
frame 51 {
stop();
}
frame 52 {
stop();
}
frame 53 {
stop();
}
button 215 {
on (release) {
var abo = 1;
dollas += 2000;
play();
}
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 56 {
stop();
}
frame 74 {
stop();
}
frame 79 {
stop();
}
button 235 {
on (release) {
var cooney = 1;
dollas += 2000;
play();
}
}
frame 80 {
stop();
}
frame 81 {
stop();
}
frame 82 {
stop();
}
frame 83 {
stop();
}
frame 84 {
stop();
}
button 248 {
on (release) {
var nsw = 1;
dollas += 2000;
play();
}
}
frame 85 {
stop();
}
frame 86 {
stop();
}
button 256 {
on (release) {
var queensland = 0;
var bogan = 0;
var immigrant = 0;
var center = 0;
var abo = 0;
var cooney = 0;
var nsw = 0;
dollas = 0;
gotoAndStop(39);
}
}
frame 87 {
stop();
}
frame 96 {
stop();
}
movieClip 262 {
}
frame 97 {
stop();
}
movieClip 266 {
}
movieClip 269 {
}
frame 137 {
stop();
}
frame 138 {
stop();
}
frame 139 {
stop();
}
frame 140 {
stop();
}
frame 141 {
stop();
}
frame 286 {
stop();
}
button 291 {
on (release) {
stopAllSounds();
var gallery = 1;
gotoAndStop(2);
}
}
frame 287 {
stop();
}
button 298 {
on (release) {
stopAllSounds();
gotoAndStop(2);
}
}
frame 288 {
stop();
}
frame 308 {
stop();