tailieunhanh - Adobe Flash chuyên nghiệp - p 25
Creating the animation in a movie clip symbol Your button symbols in this interactive restaurant guide already contain a movie clip symbol of a gray information box in their Over states. You will edit each movie clip symbol to add an animation inside it. 1 In the Library panel, expand the restaurant previews folder. Double-click the movie clip symbol icon for gabel loffel over info. Flash puts you in symbol-editing mode for the movie clip symbol called gabel loffel over info. 2 Select all the visual elements on the Stage (Ctrl/Command+A). 3 Right-click/Ctrl-click and choose Create Motion Tween. 4 In the dialog box. | Creating the animation in a movie clip symbol Your button symbols in this interactive restaurant guide already contain a movie clip symbol of a gray information box in their Over states. You will edit each movie clip symbol to add an animation inside it. 1 In the Library panel expand the restaurant previews folder. Double-click the movie clip symbol icon for gabel loffel over info. Flash puts you in symbol-editing mode for the movie clip symbol called gabel loffel over info. 2 Select all the visual elements on the Stage Ctrl Command A . 3 Right-click Ctrl-click and choose Create Motion Tween. 4 In the dialog box that appears asking for confirmation to convert the selection to a symbol click OK. Flash creates a Tween layer and adds one second worth of frames to the movie clip Timeline. ADOBE FLASH PROFESSIONAL CS5 CLASSROOM IN A BOOK 231 Download from Library of Wow ebook 5 Drag the end of the tween span back so the Timeline only has 10 frames. 6 Move the playhead to frame 1 and select the instance on the Stage. 7 In the Properties inspector select Alpha from the Style pull-down menu in the Color Effect section and set the Alpha slider to 0 . The instance on the Stage becomes totally transparent. 8 Move the playhead to the end of the tween span at frame 10. 9 Select the transparent instance on the Stage. 10 In the Properties inspector set the Alpha slider to 100 . Flash creates a smooth transition between the transparent and opaque instance in the 10 frame tween span. 11 Insert a new layer and rename it actions. 12 Insert a new keyframe in the last frame frame 10 of the actions layer. 13 Open the Actions panel Window Actions and enter stop in the Script pane. Adding the stop action in the last frame ensures that the fade-in effect only plays once. 14 Exit symbol-editing mode by clicking the Scene 1 button above the Stage. Note If you want an animated button to repeat its animation leave out the stop command at the end of the movie clip s Timeline. 15 Choose Control
đang nạp các trang xem trước