# Sound not match the animation!

**URL:** <https://forum.kirupa.com/t/sound-not-match-the-animation/12799>\
**Category:** Uncategorized\
**Created:** [February 4, 2003, 10:27pm UTC](https://forum.kirupa.com/t/sound-not-match-the-animation/12799 "2003-02-04T22:27:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![terry](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@terry](https://forum.kirupa.com/u/terry)\
**Post date:** [February 4, 2003, 10:27pm UTC](https://forum.kirupa.com/t/sound-not-match-the-animation/12799/1 "2003-02-04T22:27:35Z")

</div>

Dear all,

I’ve making a animation and attached a sound (mp3) with it. It match with the animation fine in my local machine, but the ainimation / sound run slowly in the browser or even in some less powful machine!

I 've already create a preloader for the movie, seems still have the problem,…am I missing somthing? here are the coding I used for attached the sound:

# ============================================= s = new Sound(); s.loadSound(“soundfile.mp3”, true); i = 1; function timeme () { now = new Date(); var hours = now.getHours(); var minutes = now.getMinutes(); var seconds = now.getSeconds(); \_level1[“nowtime”+i] = (Number(hours)\*3600)+(Number(minutes)\*60)+seconds; \_level1.newstarttime = \_level1[“nowtime”+i]-\_level1.nowtime1; i++; } s.start(); timeme();

Thanks for help!

---

<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:** [February 4, 2003, 10:39pm UTC](https://forum.kirupa.com/t/sound-not-match-the-animation/12799/2 "2003-02-04T22:39:22Z")

</div>

Just a suggestion - I’m new.

In ‘proporties’, when you select your sound, is your sync set to ‘stream’? I had the same problem with one of my sites, but I’m using wavs. I know that when it’s set to stream it will break up the sound to fit to each frame.

---

<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:** [February 4, 2003, 11:18pm UTC](https://forum.kirupa.com/t/sound-not-match-the-animation/12799/3 "2003-02-04T23:18:43Z")

</div>

but i didn’t import my mp3 in the library, it a external file of the flash file, how can I modify the property?

---

<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:** [February 4, 2003, 11:43pm UTC](https://forum.kirupa.com/t/sound-not-match-the-animation/12799/4 "2003-02-04T23:43:50Z")

</div>

This is what I would try:

I just tried it so I know it works.

In File, hit Import To Library, select your .MP3 file and Flash will format it so it can be used in the movie.  
Add a layer to your movie and lable it sound.  
Insert a keyframe where you want the sound to start.  
From your library (Ctrl-L) drag and drop the sound that you just imported - set sync to ‘stream’ so it plays as it loads from the server. Also in properties, set the loop to however many times you want it to play (1, 4, 4000, etc.).  
If at any time you want the music to stop, insert a keyframe in that place and add the action stopAllSounds();.

This is how I do it, I hope it helps!

---

<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:** [February 5, 2003, 2:50pm UTC](https://forum.kirupa.com/t/sound-not-match-the-animation/12799/5 "2003-02-05T14:50:40Z")

</div>

Thanks a lot! I 'll try it, hope it work.

---

<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:** [July 8, 2003, 5:28am UTC](https://forum.kirupa.com/t/sound-not-match-the-animation/12799/6 "2003-07-08T05:28:04Z")

</div>

sorry to bother you, but I can’t drag it, it has the black circle with the line through it when I try to put it in the frame

---

<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:** [July 8, 2003, 5:33am UTC](https://forum.kirupa.com/t/sound-not-match-the-animation/12799/7 "2003-07-08T05:33:03Z")

</div>

you don’t drag and drop the sound, but rather, click the frame, and select the sound track from the properties pane =)

---

<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:** [July 8, 2003, 5:35am UTC](https://forum.kirupa.com/t/sound-not-match-the-animation/12799/8 "2003-07-08T05:35:33Z")

</div>

I love you Ahmed you’re the best _bangs head for being stupid_

---

<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:** [July 8, 2003, 5:39am UTC](https://forum.kirupa.com/t/sound-not-match-the-animation/12799/9 "2003-07-08T05:39:51Z")

</div>

lol 😊 :P… glad i could help 🙂
