Put Sound In A Group?

When I start my game there’s a story, and there’s sound that I applied. The problem is that when I change scene, the sound doesn’t stop… and I can’t put it in a group.

Her’s the code that I used::

local thunder = media.newEventSound( “Thunder.mp3” )

local function playBeep ()

        media.playEventSound( thunder )

end

local tmr = timer.performWithDelay(5000, playBeep)

I think the media library is deprecated… You should replace it with the audio library.

C

Sound, (neither audio.* or media.*) are display objects and can’t be put into display groups.  You should probably call audio.pause(channelno) in your scene:exitScene(event) function.

I think the media library is deprecated… You should replace it with the audio library.

C

Sound, (neither audio.* or media.*) are display objects and can’t be put into display groups.  You should probably call audio.pause(channelno) in your scene:exitScene(event) function.