Recipe 3.6. Lengthening the Duration of the MovieProblemYou want to extend the duration of a movie. SolutionInsert frames. DiscussionWhen you open a new Flash document, it contains only one frame (possible exceptions being documents based on some templates). With only one frame, the Flash document has no provision for time. To enable elements to change over time, you should add multiple frames. Using the default frame rate of 12 fps, a single-frame movie lasts one-twelfth of a second. To lengthen a movie, to make room for changes of content, you add new frames. Figure 3-1 shows the main timeline of a movie with 12 frames. Though frame placeholders exist for frames 13 and higher, these frames do not actually exist. Figure 3-1. At 12 frames, this movie would last one secondIn addition to frames, Flash's timeline also contains the playhead (shown in Figure 3-1). The playhead indicates the active frame. The stage displays all the contents for the frame that contains the playhead. In other words, to modify portions of a movie that occur earlier or later than the contents currently showing on the stage, drag the playhead until it is in the frame that contains the elements you want to modify. You can add frames to a movie one at a time or in groups by using the Insert Frame command or by pressing F5, its keyboard shortcut. The result of this action depends on a number of factors, but in all cases, new frames are always added after the selected or active frame (that is, the frame containing the playhead).
Flash also makes it possible to add multiple frames at once. For example, if you know that your animation should be 10 seconds, and your movie's frame rate is 12 frames per second, you need to add 119 frames after the original frame. You can insert all these frames at once. You can also duplicate frame spans, one after the other.
You can add frames to the middle of a movie, and not just to the end. For example, if you have an animation that lasts 20 frames, and it goes by too quickly, you can lengthen the animation by adding several frames in the middle of the animation. To do so, position the playhead to the frame after which you want the new frames to appear, and select Insert Frame or press F5. To add a half-second to an animation, insert 6 frames, if the frame rate is 12 frames per second. See AlsoRecipe 3.7, Recipe 3.8 |
Tripod >> 3pod Tips & Learning and manuals for educations