Background Soundtrack issue

I would like to have a 35 second soundrtrack playing (looping) in the background of my site.

My problems are:
How do I get the soundtrack to loop continuously (stream or event)?

Why does the soundtrack play again (start) when an instance of it is already playing (creating 2 layers of sound)?

I am a beginner and I have 4 books that dont seem to give me the answer to my problem… :puzzle:

you can loop an audio clip with actionscript if you have an audio clip in your library with a linkage id set.

say, for example, you have an audio clip in your library with a linkage id of sound_1. you can loop that with a bare function like so:

//initate the sound object
sound_1= new Sound();
//attach the "sound_1" clip from your library to the newly made sound_1 object
sound_1.attachSound("sound_1");
//play the sound
sound_1.start();
assign an onSoundComplete function that will play the sound again after it has finished.
sound_1.onSoundComplete= function(){
    sound_1.start();
};

there are several other ways to go about it, but this is just one. its not as confusing as some other methods, and works fine.

hope this helped.

sam

www.kennybellew.com/tutorial

imho, the best sound tutorial I’ve ever seen.

:hr: