background music continues to play when app exited
I just had a review of one of my apps from amazon on the kindle fire and the result came back saying:
Upon completion of our compatibility test processes, your app was found to be unresponsive when subjected to testing. To be compatible with Kindle Fire, the app’s core features must be responsive to user commands, and its primary functionality accessible and compliant with device specifications. Currently, the background music of the app continues to play even when the app has been exited. |
to get my background music to loop I use this code
import flash.media.SoundMixer
var musicplayed:int = 0;
var MusicPlayer:Sound = new Music();
var songChannel:SoundChannel;
songChannel = MusicPlayer.play();
function loopMusic(event:Event)
{
songChannel = MusicPlayer.play();
songChannel.addEventListener(Event.SOUND_COMPLETE, loopMusic);
}
any idea whats wrong? It doesn't have this issue on iOS
