Looping sounds

hey there,

i’m trying to create a website sound track by using one simple loop that plays itself immediately after it’s finished in order to sound seamless like it’s was just one big sample.

my problem is when i use a sound attached to the time line using gotoAndPlay(1); there is always a little hiccup before the sound starts again making it sound bad

i’m reading to use this code instead


mySound = new Sound(this); 
mySound.attachSound("loop1");
mySound.start();
mySound.onSoundComplete = function(){
	mySound.attachSound("loop1");
	mySound.start();
};

but it still has a hiccup EXACTLY like using the timeline does.

UGH!

any ideas?

thanks,

-mikey