I'm currently working on visual novel project and facing some problem when using SoundChannel. I've search the similar question here and other web but no result, so I'm ended up here.
The problem occur when I need to play .mp3
on Frame 15 Scene 2. It's just play for a sec, then stops. When I go to the next frame, it does the same thing again (play for a sec then stop) and keep repeating.
But it worked flawlessly when I put the code on Frame 1 Scene 2.
Here's the line on Frame 15 Scene 2
channelmusik1 = musik2.play();
and on the Scene 1, I put this
var musik2:BGM2 = new BGM2();
var channelmusik1:SoundChannel = new SoundChannel();
tried to change .mp3
file, move it to separate layer but no result.