Combined Code
frame 1 {
soundPlay = new Sound();
max = 130;
min = 1;
rand = Math.round(Math.random() * (max - min)) + min;
soundPlay.attachSound('LIARA_' + rand + '.mp3');
soundPlay.start(0, 1);
}
frame 4 {
soundPlay = new Sound();
max = 21;
min = 1;
rand = Math.round(Math.random() * (max - min)) + min;
soundPlay.attachSound('FAP_' + rand + '.mp3');
soundPlay.start(0, 1);
}
frame 10 {
gotoAndPlay(1);
}
frame 11 {
soundPlay = new Sound();
max = 130;
min = 1;
rand = Math.round(Math.random() * (max - min)) + min;
soundPlay.attachSound('LIARA_' + rand + '.mp3');
soundPlay.start(0, 1);
}
frame 14 {
soundPlay = new Sound();
max = 21;
min = 1;
rand = Math.round(Math.random() * (max - min)) + min;
soundPlay.attachSound('FAP_' + rand + '.mp3');
soundPlay.start(0, 1);
}
frame 20 {
gotoAndPlay(11);
}