Sau khi bạn có một cảm giác như thế nào xoay 3D và các công cụ dịch thuật 3D chuyển đổi các đoạn phim, bạn có thể kết hợp các hiệu ứng này vào một motion tween để tạo ra những hiệu ứng tuyệt đẹp chỉ là một cách dễ dàng như bạn làm với vị trí và minh bạch. Thực hiện theo các bước sau để tạo ra một tween với những đặc tính 3D: | Rendering and Animating Movie Clips in the 3D Reatm 785 Tweening 3D properties After you have a feel for how the 3D Rotation and 3D Translation tools transform movie clips you can incorporate these effects into a motion tween to create stunning effects just as easily as you would with position and transparency. Follow these steps to create a tween with 3D properties 1. Place a single movie clip instance on a new layer on the Timeline by dragging it from the Library panel. 2. Right-click Windows or Control-click Mac the first frame of the new layer and choose Create Motion Tween from the contextual menu that appears. A new tween span is created and the playhead jumps to the end of the span. 3. Select the 3D Rotation tool and click the movie clip to make it active circular handles appear around the instance. 4. Click and drag the axes to rotate the movie clip until you set an angle and a position. 5. Press the Enter or Return key to play back your timeline and your movie clip tweens from its original 2D position to the 3D settings you applied as shown in Figure 6-8. 6. Repeat Steps 3 through 5 with the 3D Translation tool to see your movie clip slide in three dimensions. Book VII Chapter 6 Figure 6-8 A 3D tween in Onion Skin Outlines mode. Lights Camera Movie Clips 786 Book ƯĨĨ Flash Professional CS5 Chapter 7 Controlling Your Movie with ActionScript ỉn This Chapter Introducing ActionScript Adding actions to the timeline Creating button controls Applying code snippets Enabling buttons with ActionScript t y Whether you re creating a Web site presentation or game a truly interactive experience is one in which users can control the action. If you want to take your movies to the next level ActionScript can help. The built-in Flash scripting language has come a long way and can help you do anything from control movie playback to create complex games. This chapter introduces you to ActionScript and shows you how to use it to create interactive elements such as clickable .