[ Pobierz całość w formacie PDF ] ." Make sure that shape hints are logical.For example, if you are using three shapehints for a triangle, they must be in the same order on the original triangle andthe triangle to be tweened.The order cannot be abc in the first keyframe andacb in the second." Shape hints work best if you place them in counterclockwise order beginning atthe top left corner of the shape.262 Chapter 11To use shape hints:1 Select the first keyframe in a shape-tweened sequence.2 Choose Modify > Transform > Add Shape Hint.The beginning shape hint appears as a red circle with the letter a somewhereon the shape.3 Move the shape hint to a point that you want to mark.4 Select the last keyframe in the tweening sequence.The ending shape hint appears somewhere on the shape as a green circle withthe letter a.5 Move the shape hint to the point in the ending shape that should correspond tothe first point you marked.6 Run the movie again to see how the shape hints change the shape tweening.Move the shape hints to fine-tune the tweening.7 Repeat this process to add additional shape hints.New hints appear with theletters that follow (b, c, and so on).While working with shape hints, you can also do the following:" To see all shape hints, choose View > Show Shape Hints.The layer andkeyframe that contain shape hints must be current for Show Shape Hints tobe available." To remove a shape hint, drag it off the Stage." To remove all shape hints, choose Modify > Transform > Remove All Hints.Creating Animation 263Creating frame-by-frame animationsFrame-by-frame animation changes the contents of the Stage in every frame and isbest suited to complex animation in which an image changes in every frameinstead of simply moving.Frame-by-frame animation increases file size morerapidly than tweened animation.Use frame-by-frame animation when you need to change an image in each frame.To create frame-by-frame animation:1 Click a layer name to make it the current layer, and select a frame in the layerwhere you want the animation to start.2 If the frame isn t already a keyframe, choose Insert > Keyframe to make it one.3 Create the image for the first frame of the sequence.You can use the drawing tools, paste graphics from the Clipboard, orimport a file.264 Chapter 114 Click the next frame to the right in the same row and choose Insert >Keyframe, or right-click (Windows) or Control-click (Macintosh) andchoose Insert Keyframe from the Frame pop-up menu.This adds a new keyframe whose contents are the same as those of thefirst keyframe.5 Alter the contents of this frame on the Stage to develop the next increment ofthe animation.6 To complete your frame-by-frame animation sequence, repeat steps 4 and 5until you have built the motion you want.7 To test the animation sequence, choose Control > Play or click the Play buttonon the Controller.It can be useful to play back animation as you create it.Creating Animation 265Editing animationAfter you create a frame or a keyframe, you can move it elsewhere in the currentlayer or to another layer, remove it, and make other changes.Only keyframes areeditable.You can view tweened frames, but you can t edit them directly.You edittweened frames by changing one of the defining keyframes or by inserting a newkeyframe between the beginning and ending keyframes.You can drag items fromthe Library window onto the Stage to add the items to the current keyframe.To display and edit more than one frame at a time, you use onion skinning.To insert frames in the Timeline, do one of the following:" To insert a new frame, choose Insert > Frame." To create a new keyframe, choose Insert > Keyframe, or right-click (Windows)or Control-click (Macintosh) the frame where you want to place a keyframe,and choose Insert Keyframe from the context menu." To create a new blank keyframe, choose Insert > Blank Keyframe, or right-click(Windows) or Control-click (Macintosh) the frame where you want to placethe keyframe, and choose Insert Blank Keyframe from the context menu.266 Chapter 11To delete or modify a frame or keyframe, do one of the following:" To delete a frame, keyframe, or frame sequence, select the frame, keyframe,or sequence and choose Insert > Remove Frame, or right-click (Windows) orControl-click (Macintosh) the frame, keyframe, or sequence and chooseRemove Frame from the context menu.Surrounding frames remainunchanged." To move a keyframe or frame sequence and its contents, drag the keyframe orsequence to the desired location." To extend the duration of a keyframe, Alt-drag (Windows) or Option-drag(Macintosh) the keyframe to the final frame of the new sequence." To copy a keyframe or frame sequence by dragging, Alt-click (Windows) orOption-click (Macintosh) and drag the keyframe to the new location." To copy and paste a frame or frame sequence, select the frame or sequence andchoose Edit > Copy Frames.Select a frame or sequence that you want toreplace, and choose Edit > Paste Frames." To convert a keyframe to a frame, select the keyframe and choose Insert >Clear Keyframe, or right-click (Windows) or Control-click (Macintosh) thekeyframe and choose Clear Keyframe from the context menu.The clearedkeyframe and all frames up to the subsequent keyframe are replaced with thecontents of the frame preceding the cleared keyframe." To change the length of a tweened sequence, drag the beginning or endingkeyframe left or right
[ Pobierz całość w formacie PDF ]
zanotowane.pldoc.pisz.plpdf.pisz.plhanula1950.keep.pl
|