[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 (402 B)
frame 5 {
soundPlay = new Sound();
max = 26;
min = 1;
rand = Math.round(Math.random() * (max - min)) + min;
soundPlay.attachSound('GIVE_' + rand);
soundPlay.start(0, 1);
}
frame 9 {
soundPlay = new Sound();
max = 9;
min = 1;
rand = Math.round(Math.random() * (max - min)) + min;
soundPlay.attachSound('REC_' + rand);
soundPlay.start(0, 1);
}
frame 14 {
gotoAndPlay(1);
}