Skip to main content
Participant
Sep 9, 2013 5:27 AM UTC
Question

Music plays for some more minutes while deactivating android device

I have  main menu(swf file) with music when I lock android device screen dims but music plays for some more minute and stops. I gave CurrentMovieClip.Stop(), in deavtive event. How could I stop music too while the screen goes please help me on this

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Lars Laborious
Legend
Sep 10, 2013 11:37 AM UTC

If you've just added the sound to a frame (assuming you're using Flash), you can stop all sounds with SoundMixer.stopAll()

You would also need to import flash.media.SoundMixer.

Translate