Is there any way with mobilePlaySoundOnChannel to use something like...
Wait until the sound is done?
When using the mobilePlaySoundOnChannel with the "next" especially in a repeat loop, the sounds play through one another. A method like the old Wait until the sound is done would be nice.
Any ideas?
MobilePlaySoindOnChannel and waiting
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
MobilePlaySoindOnChannel and waiting
Last edited by scotttyang on Wed Apr 16, 2014 1:53 am, edited 1 time in total.
Re: MobilePlayOnChannel and waiting
Hi scotttyang,
is "soundFinishedOnChannel" what you are looking for?
Simon
is "soundFinishedOnChannel" what you are looking for?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
Re: MobilePlaySoindOnChannel and waiting
Simin,
Do you have a sample script for how to use it...slim example in dictionary..
Scort
Do you have a sample script for how to use it...slim example in dictionary..
Scort
Re: MobilePlaySoindOnChannel and waiting
Hi Scort,
Is pretty clear.
You won't get that message triggered until the sound has finished playing just like "wait".
Simon
Code: Select all
on soundFinishedOnChannel pChannel, pSound
put pChannel into field "channel"
put pSound into field "finished sound"
end soundFinishedOnChannel
You won't get that message triggered until the sound has finished playing just like "wait".
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!