tailieunhanh - adobe flash cs5 on demand part 46

Hình dạng thay đổi vị trí với Shape Tweening Để tạo ra một tween hình dạng mà bạn cần phải rút ra hoặc đặt một hình dạng có thể chỉnh sửa trong một khung hình chính. Sử dụng bất kỳ các công cụ vẽ của Flash, nhập khẩu một hình dạng vector từ một chương trình vẽ vector. | Changing Shape Positions with Shape Tweening To create a shape tween you need to draw or place an editable shape in a keyframe. Use any of Flash s drawing tools or import a vector shape from another vector drawing program. If you want to apply a shape tween to grouped artwork or a symbol you can break apart the group or enter symbol editing mode and apply the shape tween to any editable shape in the symbol s Timeline. You can quickly view your animation by exporting it with the Test command in Flash Professional . By default Flash loops animations in the Flash Player. K 2j 3 j 1 Animate a Ball with Shape Tweening Create a new Flash document. Select the Oval tool on the Tools panel. Set the Stroke Color to None. On the first frame draw a circle on the left side of the Stage. Select the first frame. Click the Insert menu and then click Shape Tween. Click frame 20 in the Timeline. Click the Insert menu point to Timeline and then click Keyframe. Flash tints a shape-tweened span a pale green. TIMESAVER Press F6 to add a keyframe. Circle position on Frame 1 280 Chapter 10 Select the Selection tool on the Tools panel. Select the circle on frame 20 and drag it to the right side of the Stage. Click frame 40 in the Timeline and then add another keyframe. Select the circle shape on frame 40 and drag it back to the left side of the Stage. Click the Control menu point to Test Movie and then click Test. The ball animates back and forth across the screen. Circle position on Frame 20 Circle position on Frame 40 Chapter 10 Animating with Shape Tweening 281 Changing Shape Position and Form Simultaneously Many of the same motion effects can be applied using either motion or shape tweening. What differentiates shape tweening from motion tweening is that shape tweening is applied to editable shapes. You can change the form of the shape on either keyframe and these changes will be applied gradually by Flash across the tween slowly morphing one into the other. Additionally you can .