At 1:46 PM -0500 1/29/02, Mike Brown wrote:
>Could you provide an example of how the playStopped message can be properly
>implemented?  I have looked through the documentation but can not find a
>practical example of how to use it.

I would think (not tested) something like this:

global gSoundFileList,gWhichFile,gNumSoundFiles

on startPlaying
put 1 into gWhichFile
startNewSound
end startPlaying

on startNewSound
play audioClip gSoundFileList[gWhichFile]
end startNewSound

on playStopped
add 1 to gWhichFile
if gWhichFile > gNumSoundFiles then exit playStopped
startNewSound
end playStopped

regards,

Geoff

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to