hi, i've been searching the entire Internet for resources on playing multiple sounds in sequence with the click or rollover of a button, but to no avail. can someone help me?

the situation is like this, there are 9 audio files in mp3 format from 0 - 9. when my asp program generates a random code from 0 - 9, i want the code to play the relevant sounds in flash.

either the sounds overlap, or the code loops to the end and play only the last file:

on (rollOver)
{
var arrCaptcha = "0123456789"
if (arrCaptcha != "")
{
var s = new Sound();

var i = 0;
for (i = 0; i < arrCaptcha.length; i++)
{
if (arrCaptcha.charAt(i) == '0')
{
s.stop();
s.attachSound("a0");
s.start();
} else if (arrCaptcha.charAt(i) == '1') {
s.stop();
s.attachSound("a1");
s.start();
}
}
}
}