Skip to main content
Participant
January 17, 2014
Answered

Sound & SoundChannel issue when screen is off

  • January 17, 2014
  • 1 reply
  • 262 views

Platform: AIR 3.8 on Andorid

Classes: Sound & SoundChannel

Background: I am writing an app that play songs one after another. I am listening to the soundComplete event of the SoundChannel instance. When the current song is finished, a new Sound object will be created, the Sound will then load an URL and play next song. It worked well when the app is activated.

Issue:  When the app is minimized or if the screen is off, the next song will not be played. I have to either switch back to the app or turn on the screen, then the next song will be played automatically again. I am not sure if it is because the soundComplete event of the SoundChannel object is not firing when the screen is off, or if it is because the Sound object does not start loading when screen is off.

This topic has been closed for replies.
Correct answer KevinResoL

Solved by updating to SDK 3.9 and export swf version 11.9

1 reply

KevinResoLAuthorCorrect answer
Participant
January 17, 2014

Solved by updating to SDK 3.9 and export swf version 11.9