Dear all,
I am trying to find a workaround to the problem of looping mp3 files, basically the silence in the transition (from end to start). I could use wav files but I need to load the file externally, which makes not possible to use wav. So I did this
var channel:SoundChannel = myMp3.play();
channel. addEventListener (Event.SOUND_COMPLETE, onComplete);
function onComplete(event:Event){
channel = assets.sounds.piston.play();
}
Then after some time a use this code to stop and remove the listener:
channel.stop();
channel.removeEventListener(Event.SOUND_COMPLETE, onPlaybackComplete);
However the problem is still there
Edit: Now I know it is not a problem of flash, it is problem of the mp3 format itself. Any way, is there a workaround?
Thanks in advance