[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.54 KiB) ● ●
frame 1 {
stop();
if (!_root.played_once) {
_root.play_music = true;
_root.play_sound = true;
}
_root.played_once = true;
var globalVolume = new Sound();
mc_sound_warning._visible = _root.play_sound;
}
// unknown tag 88 length 73
movieClip 19 {
frame 1 {
this.stop();
}
frame 3 {
numFrames = 7;
rand = 1 + Math.floor(random(numFrames));
this.gotoAndStop(rand + 3);
}
frame 4 {
this.gotoAndStop(2);
}
frame 5 {
this.gotoAndStop(2);
}
frame 6 {
this.gotoAndStop(2);
}
frame 7 {
this.gotoAndStop(2);
}
frame 8 {
this.gotoAndStop(2);
}
frame 9 {
this.gotoAndStop(2);
}
frame 10 {
this.gotoAndStop(2);
}
}
movieClip 32 {
frame 34 {
rand = random(100);
if (rand < 40) {
mc_sounds.play();
}
}
frame 59 {
rand = random(100);
if (rand < 90) {
this.gotoAndPlay('mc_sitsuck_goto');
}
}
}
movieClip 35 {
frame 1 {
if (_root.play_sound) {
stop();
}
}
frame 2 {
if (!_root.play_sound) {
stop();
}
}
}
movieClip 37 {
}
button 39 {
on (release) {
stopAllSounds();
this.play();
}
}
button 40 {
on (release) {
stopAllSounds();
this.gotoAndPlay('milkjugs');
}
}
button 41 {
on (release) {
stopAllSounds();
this.gotoAndPlay('suggestion');
}
}
button 42 {
on (release) {
stopAllSounds();
this.gotoAndPlay('walkunder');
}
}
button 43 {
on (release) {
stopAllSounds();
this.gotoAndPlay('dinnertime');
}
}
button 44 {
on (release) {
stopAllSounds();
this.gotoAndPlay('firsttaste');
}
}
button 45 {
on (release) {
mc_soundsettings.play();
_root.play_sound = !_root.play_sound;
if (_root.play_sound == true) {
globalVolume.setVolume(100);
mc_sound_warning._visible = true;
} else {
_root.play_music = false;
mc_musicsettings.gotoAndPlay(2);
globalVolume.setVolume(0);
mc_sound_warning._visible = false;
}
}
}
movieClip 48 {
frame 1 {
if (_root.play_music) {
stop();
}
}
frame 2 {
if (!_root.play_music) {
stop();
}
}
}
button 49 {
on (release) {
mc_musicsettings.play();
if (_root.play_sound) {
_root.play_music = !_root.play_music;
}
}
}
// unknown tag 88 length 304
frame 2 {
stop();
}
movieClip 72 {
frame 222 {
this.stop();
}
}
movieClip 74 {
frame 431 {
_parent.nextFrame();
}
}
button 76 {
on (release) {
stopAllSounds();
this.gotoAndPlay('menu');
}
}
movieClip 78 {
frame 1 {
if (!_root.play_music) {
stop();
}
}
frame 2 {
stop();
}
}
frame 3 {
stop();
}
movieClip 93 {
frame 80 {
this.stop();
}
}
movieClip 95 {
frame 195 {
_parent.nextFrame();
}
}
frame 4 {
stop();
}
movieClip 139 {
frame 131 {
this.stop();
}
}
movieClip 141 {
frame 210 {
_parent.nextFrame();
}
}
frame 5 {
stop();
}
movieClip 157 {
}
movieClip 164 {
}
movieClip 167 {
frame 638 {
_parent.nextFrame();
}
}
frame 6 {
stop();
}
movieClip 199 {
frame 47 {
rand = random(10);
if (rand < 4) {
this.gotoAndPlay('mc_milkjugs_s1');
} else {
if (rand < 8) {
this.gotoAndPlay('mc_milkjugs_s2');
}
}
}
frame 63 {
this.gotoAndPlay('mc_milkjugs_s1');
}
frame 91 {
this.gotoAndPlay('mc_milkjugs_s1');
}
}
movieClip 200 {
frame 320 {
_parent.nextFrame();
}
}
frame 7 {
stop();
}
movieClip 218 {
frame 72 {
this.stop();
}
}
movieClip 219 {
frame 90 {
_parent.nextFrame();
}
}
frame 8 {
stop();
}
movieClip 240 {
frame 1 {
rand = random(10);
if (rand < 4) {
this.gotoAndPlay('normal');
} else {
if (rand < 8) {
this.gotoAndPlay('slam');
} else {
this.gotoAndPlay('slow');
}
}
}
frame 4 {
mc_sounds.play();
}
frame 28 {
this.gotoAndPlay(1);
}
frame 30 {
mc_sounds.play();
}
frame 62 {
this.gotoAndPlay(1);
}
frame 64 {
mc_sounds.play();
}
frame 90 {
this.gotoAndPlay('normal');
}
}
button 242 {
on (release) {
this.gotoAndStop('dinnertime');
}
}
button 244 {
on (release) {
this.gotoAndStop('sideshow');
}
}
frame 9 {
stop();
}
movieClip 250 {
frame 1 {
this.stop();
}
frame 3 {
numFrames = 3;
rand = 1 + Math.floor(random(numFrames));
this.gotoAndStop(rand + 3);
}
frame 4 {
this.gotoAndStop(2);
}
frame 5 {
this.gotoAndStop(2);
}
frame 6 {
this.gotoAndStop(2);
}
}
movieClip 279 {
frame 16 {
mc_sounds.play();
}
frame 18 {
rand = random(10);
if (rand < 8) {
this.gotoAndPlay('sideshow_nobreath');
_parent.mc_sideshow_x.gotoAndPlay('sideshow_x_nobreath');
}
}
frame 23 {
mc_sounds.play();
}
frame 34 {
mc_sound_bgasp.play();
}
frame 40 {
this.gotoAndPlay(1);
_parent.mc_sideshow_x.gotoAndPlay(1);
}
frame 52 {
mc_sounds.play();
}
frame 65 {
mc_sounds.play();
}
frame 80 {
rand = random(10);
if (rand < 6) {
this.gotoAndPlay('sideshow_nobreath');
_parent.mc_sideshow_x.gotoAndPlay('sideshow_x_nobreath');
} else {
this.gotoAndPlay('sideshow_nobreath_ret');
_parent.mc_sideshow_x.gotoAndPlay('sideshow_x_nobreath_ret');
}
}
}
movieClip 306 {
}
movieClip 307 {
frame 1 {
this.stop();
}
instance mc_sideshow_x of movieClip 306 {
onClipEvent (rollOver) {
_parent.play();
}
}
frame 10 {
this.stop();
}
instance mc_sideshow_x of movieClip 306 {
onClipEvent (rollOut) {
_parent.play();
}
}
instance mc_sideshow_x of movieClip 306 {
onClipEvent (rollOver) {
_parent.play();
}
}
}