# Overlapping sound vs. Andio not in sync

**URL:** https://forum.kirupa.com/t/overlapping-sound-vs-andio-not-in-sync/326622
**Category:** flash
**Created:** [December 30, 2011, 12:57pm UTC](https://forum.kirupa.com/t/overlapping-sound-vs-andio-not-in-sync/326622 "2011-12-30T12:57:10Z")
**Posts on this page:** 1
**Page:** 1

<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: [December 30, 2011, 12:57pm UTC](https://forum.kirupa.com/t/overlapping-sound-vs-andio-not-in-sync/326622/1 "2011-12-30T12:57:10Z")

</div>

Hi, I am aving a problem managing the sound in my application. Here is the situation:

I have ten frames in the main timeline and on each frame is a movieclip, inside of which i need to put sound (Each movieclip plays a different sound). Currently I load the sound dynamicly from library and everything works fine - the application plays sounds according to the current frame.

Problem is that each of the movieclips contains also an animation (two characters talking) and I need the animation to be synchronized with the sound. And since I am loading the sounds via actionscript, it has no sync and when the framerate drops on slower computers, the animation lasts longer then audio. To solve this, I tried to put the sounds directly into each timelines of the movieclips and set the “Sync” property to “Stream”, but the result is, that when I call the gotoAndStop(5); method, all the sounds placed in movieclips in the previous frames (frames 1 to 4) play as well and all the sounds are playing at the same time.

Is ther any mechanism, that can solve this, or any other way to do this?
