Scripted looping audio without gaps

So I’m putting together some looping background music. It has an intro segment, and once that’s done playing, it attaches a loop segment, which continues looping progammatically using onSoundComplete until a boolean is set to make it play the outro segment. This all works fine, but the problem is that, depending on what’s going on in the rest of the movie, sometimes Flash introduces a brief pause between loops.

It seems like I might be able to circumvent the problem if I could force the loop to start playing at an exact time rather than depending on Flash to determine when the loop is complete; does anyone know how to do this?

Thanks!