# Sound loop!

**URL:** <https://forum.kirupa.com/t/sound-loop/11470>\
**Category:** Uncategorized\
**Created:** [January 17, 2003, 4:27pm UTC](https://forum.kirupa.com/t/sound-loop/11470 "2003-01-17T16:27:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pjc4real](https://avatars.discourse-cdn.com/v4/letter/p/58f4c7/32.png) [@Pjc4real](https://forum.kirupa.com/u/Pjc4real)\
**Post date:** [January 17, 2003, 4:27pm UTC](https://forum.kirupa.com/t/sound-loop/11470/1 "2003-01-17T16:27:01Z")

</div>

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???

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 17, 2003, 4:53pm UTC](https://forum.kirupa.com/t/sound-loop/11470/2 "2003-01-17T16:53:43Z")

</div>

Hi,

```auto

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 17, 2003, 5:27pm UTC](https://forum.kirupa.com/t/sound-loop/11470/3 "2003-01-17T17:27:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 17, 2003, 5:46pm UTC](https://forum.kirupa.com/t/sound-loop/11470/4 "2003-01-17T17:46:31Z")

</div>

Hi,

Good points andrthad!

Cheers

SHO

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 17, 2003, 10:47pm UTC](https://forum.kirupa.com/t/sound-loop/11470/5 "2003-01-17T22:47:22Z")

</div>

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!!
