# Help - when I stream sound, it sounds bad

**URL:** https://forum.kirupa.com/t/help-when-i-stream-sound-it-sounds-bad/23577
**Category:** flash
**Created:** [June 19, 2003, 7:09pm UTC](https://forum.kirupa.com/t/help-when-i-stream-sound-it-sounds-bad/23577 "2003-06-19T19:09:21Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ttorrey](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@ttorrey](https://forum.kirupa.com/u/ttorrey)
#### Post date: [June 19, 2003, 7:09pm UTC](https://forum.kirupa.com/t/help-when-i-stream-sound-it-sounds-bad/23577/1 "2003-06-19T19:09:21Z")

</div>

Hey all

I’ve got some sound that I want to sync in time with my animation. I can do this when I set the sound to “stream” as we all know, but then - when viewed - the sound sounds very compressed. However, if I set sound to “event” or whatever it sounds fine and uncompressed, but then it’s out of sync.

What can I do?

Thomas

[ttorrey@slc.edu](mailto:ttorrey@slc.edu)

---

<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: [June 19, 2003, 7:10pm UTC](https://forum.kirupa.com/t/help-when-i-stream-sound-it-sounds-bad/23577/2 "2003-06-19T19:10:07Z")

</div>

Can i see the fla?

---

<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: [June 19, 2003, 9:07pm UTC](https://forum.kirupa.com/t/help-when-i-stream-sound-it-sounds-bad/23577/3 "2003-06-19T21:07:46Z")

</div>

Umm… it’s almost 400MB – it’s a 15 minute documentary.

---

<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: [June 19, 2003, 9:23pm UTC](https://forum.kirupa.com/t/help-when-i-stream-sound-it-sounds-bad/23577/4 "2003-06-19T21:23:15Z")

</div>

do it manulayy through AS

[AS]  
mySound = new Sound();  
mySound.loadSound(“yourSound.mp3”, true);  
mySound.start();  
[/AS]

make sure your mp3 is in the same folder as your swf and yu will be ok. you will not lose quality

---

<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: [June 19, 2003, 9:46pm UTC](https://forum.kirupa.com/t/help-when-i-stream-sound-it-sounds-bad/23577/5 "2003-06-19T21:46:39Z")

</div>

Cool - where do I place the AS?

---

<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: [June 19, 2003, 10:16pm UTC](https://forum.kirupa.com/t/help-when-i-stream-sound-it-sounds-bad/23577/6 "2003-06-19T22:16:24Z")

</div>

Use **Event sync** , it has higher quality than Stream sync.  
U can see the reason[here](http://www.macromedia.com/support/flash/ts/documents/soundqualstreamevent.htm)  
And use AS to sync the sound to the animation.

---

<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: [June 19, 2003, 10:21pm UTC](https://forum.kirupa.com/t/help-when-i-stream-sound-it-sounds-bad/23577/7 "2003-06-19T22:21:13Z")

</div>

place the AS on an empty key frame, i never have a problem with quality with that

---

<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: [June 20, 2003, 3:46pm UTC](https://forum.kirupa.com/t/help-when-i-stream-sound-it-sounds-bad/23577/8 "2003-06-20T15:46:23Z")

</div>

I have a “play” and a “pause” button to effect the animation. Now, however the sound is on it’s own and doesn’t respond to these buttons. How can I correct this, but still have my audio be synced up and not sound bad?

---

<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: [June 20, 2003, 3:48pm UTC](https://forum.kirupa.com/t/help-when-i-stream-sound-it-sounds-bad/23577/9 "2003-06-20T15:48:45Z")

</div>

[AS]  
on(release){  
mySound.start();  
}  
[/AS]  
[AS]  
on(release){  
mySound.stop();  
}  
[/AS]
