Skip to main content
Participant
September 9, 2013
Question

Music plays for some more minutes while deactivating android device

  • September 9, 2013
  • 1 reply
  • 451 views

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 has been closed for replies.

1 reply

Lars Laborious
Legend
September 10, 2013

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.