First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Shannon Zastrow at DoReMedia, Inc. | Website: http://www.doremedia.com

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.

» Level Advanced

Added: 2001-02-13
Rating: 6 Votes: 16
(10 being the highest)
» Author
No details available.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.