Categories
Computing Web Development

Audio sync issue in Flash

Synchronizing audio with animation in Flash can get whacky if you do not know how to do it right. And then if you think it works in one browser, it does not work in the other. The solution is simple, though.

Share

So I am working with Flash 8 at present. I am billable and that counts.
The project involves embedding video and audio clips in the Flash movies we are creating. Once published (compiled, for those who feel bette about that term) – the movies that just had an audio soundtrack exhibited a weird behavior: when you preview the movie in Flash player, the audio would sync just fine with the animation, but when viewing the movies in a browser, the synchronization would be off by seconds, even in 10 second-long movies.
The solution appears in this post on the Macromedia Flash forums.
The audio track must be on its own layer (duh) and the layer should be selected. Open the properties area (if you do not have it showing by default) and in the area where it says ‘Sound’, select the audio you just laid inside of the movie. Then, select ‘Stream’ from the Sync choices, and voila, it’ll sync just fine.

Share
Share