adobe flash cs5 on demand part 55

Thông qua kiểm soát Video Clips Phim Trong khi nó là một vấn đề dễ dàng để kéo một file video lên sân khấu và sau đó sử dụng bắt đầu và ngừng ActionScripts để kiểm soát các sân chơi của video, nó tốt hơn để tạo ra một đoạn phim, và sau đó tải các file video vào clip. Đó là một công việc chút, nhưng những phần thưởng bổ sung là rất lớn. | Controlling Video Through Movie Clips While it s an easy matter to drag a video file onto the Stage and then use start and stop ActionScripts to control the playing of the video it s better to create a movie clip and then load the video file into the clip. It s a bit more work but the additional rewards are great. For example you can instruct a movie clip to stop playing without affecting anything else on the Stage. As a matter of fact you can have as many movie clips on the Stage as you want and each one can be controlled individually. It s exactly that kind of control that leads to awesome Flash movies. To control a video using a movie clip you will need to have a flash document that contains one or more video files in the Library. Control Video Through Movie Clips Create or open a Flash document click the Insert button and then click New Symbol. Name the symbol and then click the Movie Clip option. 0 Click OK. Drag a video file from your Library into the movie clip symbol. Click the Scene button to return to the Stage of the active scene. Create a new layer to hold the video and then select the layer. Drag the movie clip to the Stage and then select the clip. Enter a unique Instance name in the Property Inspector. IMPORTANT The Instance name you enter will be used in the ActionScript to identify the movie clip to the button object with instance name . Create a new layer to hold the navigation buttons and then select the layer. 336 Chapter 13 0 Drag Play Stop and Rewind buttons into the Navigation layer from the library and then place them underneath the video. 1 Click the Window menu and then click Actions. 2 To display scripting language commands for the scripting language you want to use click the Language button and then select the language you want. 3 Do either of the following depending on the ActionScript version ActionScript . Select the Play Stop and Rewind buttons individually and then enter the ActionScript script as shown in the illustration. .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.