"next"
Posted: Mon Apr 30, 2012 6:37 pm
Hello,
I want to play 4 sounds right after one another. I have this code:
put (specialFolderPath("engine")) into tPath
put "/1-ivy.wav" into tfile
play audioClip tPath & tFile
wait until the sound is done
put tPath & "/2-ivy.wav" into tFile
mobilePlaySoundOnChannel tFile, "two", "now"
put tPath & "/3-ivy.wav" into tFile
mobilePlaySoundOnChannel tFile, "two", "next"
put tPath & "/4-ivy.wav" into tFile
mobilePlaySoundOnChannel tFile, "two", "next"
I expect to hear "1-2-3-4", but I hear "1-2-4". Could you please tell me why?
Thanks, Natalie
I want to play 4 sounds right after one another. I have this code:
put (specialFolderPath("engine")) into tPath
put "/1-ivy.wav" into tfile
play audioClip tPath & tFile
wait until the sound is done
put tPath & "/2-ivy.wav" into tFile
mobilePlaySoundOnChannel tFile, "two", "now"
put tPath & "/3-ivy.wav" into tFile
mobilePlaySoundOnChannel tFile, "two", "next"
put tPath & "/4-ivy.wav" into tFile
mobilePlaySoundOnChannel tFile, "two", "next"
I expect to hear "1-2-3-4", but I hear "1-2-4". Could you please tell me why?
Thanks, Natalie