Sound loop!

I hav a piece of music about 9 secs long, and when it loops, it skips, theres a slight skip!!! How do I loop it properly???

Hi,


mySound = new Sound();
mySound.attachSound("soundInLibrary");
mySound.start(0, 999);

where soundInLibrary is the linkage identifier of the sound in the library.
Is that what you mean?

Cheers

SHO

Hi Pjc4real,

eki has done a nice job giving you the code you need to loop.

Here’s my two cents on additional troubleshooting.

  1. You may have to take the sound clip into a sound editing software like Cool Edit Pro, Acid Pro, etc and clip the front and end silent noise spots out of your clip to have it loop properly.

  2. Sometimes sound clips don’t loop properly if you import them into flash as a mp3. Might convert it to a wav file before you import into Flash.

Hi,

Good points andrthad!

Cheers

SHO

Hey, thanx! Thats the actionscript way of doing it rite?? I just added the sound to a movieclip - it seemed to work that way… thxnx neway tho!!