First time here? First time here? Newsletter Signup Newsletter
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!


  • 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: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
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: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.