Skip to Content
Flash 8 Cookbook
book

Flash 8 Cookbook

by Joey Lott
April 2006
Beginner
544 pages
14h 51m
English
O'Reilly Media, Inc.
Content preview from Flash 8 Cookbook

17.4. Synchronizing Sounds to Animation

Problem

You want to make sure that your sound remains synchronized with the animation.

Solution

Use the Stream setting for synchronizing your sound.

Discussion

Flash sounds can be synchronized a variety of ways, and each way has its own benefits. The streaming synchronization option is ideal when you want to make sure that that the Flash animation stays in step with the audio. When you select the Stream option for sound synchronization, Flash makes sure that the movie’s timeline plays back along with the sound. If Flash cannot draw the frames fast enough, it will automatically drop frames to keep up with the sound. This is important if you have a single, long sound that acts as a narration or soundtrack that needs to be in sync with the visual elements.

Flash sounds default to the Event synchronization, so if you want your sound to synchronize using the Stream option, you need to explicitly tell Flash to do this. Select the keyframe that contains the sound, and in the Property inspector, select Stream from the Sync menu. That is all there is to it.

Setting a sound to synchronize using the Stream setting is a simple process; however, there are a few things you should be aware of with sounds set to this synchronization type. First of all, unlike sounds set to synchronize as Event or Start, those set to Stream play only as long as there are enough frames in the layer in which the sound has been placed. So when you use stream sounds, make sure that you ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Adobe® Dreamweaver® CS5 Bible

Adobe® Dreamweaver® CS5 Bible

Joseph W. Lowery
Flash® CS4 for Dummies®

Flash® CS4 for Dummies®

Ellen Finkelstein, Gurdy Leete
Dreamweaver® CS3 Bible

Dreamweaver® CS3 Bible

Joseph W. Lowery

Publisher Resources

ISBN: 0596102402Catalog PageErrata