WebBuilder101 - Making the web happen!
Need Web Dev software? Here is the place to
Flash Point
Macromedia Flash Developer Resource


Forcing Flash's Frame Rate

Flash allows you to select a frame rate for your movie between 1 frame per second and 30 frames per second. The two most common rates are 12fps and 15fps, but any rate is acceptable to a tenth of a frame per second resolution. The tricky part is that no matter what frame rate you pick, actual playback is dependent on the user's processor and the complexity of the movie. So even though you may choose 12fps, your audience may only experience 10fps, or 6fps. This poses a problem when trying to synchronize audio and graphic elements in your Flash movie.

It's fairly easy to synchronize the beginning of a sound clip with an event by simply triggering the audio at the same keyframe as your event. But what if you want to synchronize something with the end of a sound clip, like another sound clip, as in our Lego example? How do you know on which keyframe to trigger your second clip? We need to know what frame the timeline is on when one chunk finishes, so we can then trigger the next chunk to build our arrangement.

In order for all of this to work, we have to force Flash to keep a precise, consistent frame rate. We could set the sound SYNC METHOD to STREAMING for all of our sounds, but this would increase our file size by a factor of 10 or more.

The answer is what DoReMedia calls a Sync Track. Every Sound Family comes with a corresponding, tempo-matched Sync track. The purpose of the Sync Track is two-fold. It forces Flash's frame rate to be constant, and it provides a very useful visual reference which can be used to avoid trial and error in placing and synchronizing sound clips.

What is a Sync Track?

A Sync Track is a one measure sound clip that is recorded at the same tempo as the Sound Family. It is a multiple in length of every component (layers and chunks) in a Sound Family. It also has an audio spike at the beginning of the clip, which provides the visual reference on your Flash timeline that corresponds to every musical measure. By inserting this low-resolution clip throughout the length of your movie soundtrack with a SYNC SETTING of STREAMING, we can force Flash's frame rate to be constant and determine when to trigger the next chunk.

Back Back
.
.

 

More Resources
An Introduction to Flash
Embedding Flash Movies
Learn how to use Graphics Editors
Logo Design - Tips
Creating an Image file
Adding Sparkles to Text
Drop Shadow Effect
Clouds and Lens Flare effect
Creating Transparent GIFs
How to create Icons

Suggested Reading

Beginning Active Server Pages 3.0
JavaScript Bible
Red Hat Linux
Dreamweaver 3.0
HTML Bible



Download WB101 Wallpaper
• Web Builder 101 Wallpaper Get it!.
• Find out how to create your own Wallpaper Teach me!.
Sign up for our Newsletters
• Web Building Sign me Up!.
• Net Alert! Sign me Up!.
Need Help?
• Contact Support Click here.
• E-mail the Webmaster Click Here.
• Search Tips Click Here.

Webbuilder101.com © 1998 - 2003 Copyright and Terms of Use
Send mail to: webmaster@webbuilder101.com

» About » Support

» FAQ » What's New » MyLog

Web Builder 101 Web Builder 101 - Making the Web Happen Web Builder 101 - Making the Web Happen
.