Learning Guide for Flash CS4 Professional: Frame rates
The frame rate—the speed at which an animation is played, or the playhead moves across a timeline—is measured in the number of frames displayed per second. A frame rate that’s too slow means your animation might not appear to be smooth; a frame rate that’s too fast might negatively affect the performance, shorten the animation’s duration too much, or use a lot of the user’s computer processing power. The complexity of the animation and the speed of the computer on which the animation is being played affect the smoothness of the playback. Test your animations on a variety of machines to determine optimum frame rates.
Note: You can change the FPS setting in the Document Properties dialog box (click the Edit button in the Properties section of the Property inspector), or at the bottom of the Timeline using the hot text next to fps.
You need to think about frame rate when working with animations, because it can affect the performance of your SWF file and the computer that plays it. Setting a frame rate too high can lead to processor problems, especially when you use many assets or use ActionScript to create your animation. However, you also need to consider the frame rate setting, because it affects how smoothly your animation plays. For example, an animation set to 12 frames per second (fps) in the Property inspector plays 12 frames each second. If the document’s frame rate is set to 24 fps, the animation appears to animate more smoothly than if it ran at 12 fps (see Figure 1). However, your animation at 24 fps also plays much faster than it does at 12 fps, so the total duration (in seconds) is shorter. Therefore, if you need to make a 5-second animation using a higher frame rate, it means you need to add additional frames to fill those 5 seconds than at a lower frame rate (and thus, it can raise the total file size of your animation, especially if you use frame-by-frame animation or use a lot of keyframes).