[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.Symbol 42 MovieClip Frame 8 (394 B)
soundObjectsquish2 = new Sound(this);
this.soundObjectsquish2.attachSound("squish2");
soundObjectsquish5 = new Sound(this);
this.soundObjectsquish5.attachSound("squish5");
soundObjectsquish6 = new Sound(this);
this.soundObjectsquish6.attachSound("squish6");
rand = Math.random() * 10;
if (rand > 5) {
this.soundObjectsquish5.start();
} else {
this.soundObjectsquish2.start();
}
Symbol 42 MovieClip Frame 15 (404 B)
soundObjects1 = new Sound(this);
this.soundObjects1.attachSound("s1");
soundObjects2 = new Sound(this);
this.soundObjects2.attachSound("s2");
soundObjects3 = new Sound(this);
this.soundObjects3.attachSound("s3");
rand = Math.random() * 10;
if (rand > 6.666) {
this.soundObjects1.start();
} else if (rand > 3.333) {
this.soundObjects2.start();
} else {
this.soundObjects3.start();
}