I have a card that when the user navigates to it, it plays an audio mp3 (stored within the file). I am using the "mobilePlaySoundOnChannel" command and have buttons that can Pause, Continue or Restart the audio.
I am trying to trap for when the audio file has finished playing so that I can automatically navigate the user to a different card.
I found I could do the following:
put mobileSoundChannelStatus (noise1) into tChannelStatus
if tChannelStatus = "stopped" then
go to card "Main Menu"
end if
But where should I put this piece of code? On OpenCard won't work...it would almost have to check this every few seconds to see if the audio had finished or not

Please advise and help!
Thanks so much.
-Tester2