Looping sounds seamlessly

Hey. I’m stuck and I have a deadline for this project soon.

So I got a loop that I’m loading into Flash with the Sound object. The sound loads good and it starts playing but when it loops back to the beginning there’s some silence and then it loops again. The sound loops fine in a sound editing program, the only problem is that Flash leaves a gap when its going to start again.

Anyone has come up with a solution to make a sound loop seamlessly?

this is my code:

loadMusic = function() {
loop = new Sound();
loop.loadSound(“lomtrack.mp3”, false);

playMusic = function() {
loop.start(0, 100);