tailieunhanh - Flash CS4 All-in-One For Dummies- P15
Flash CS4 All-in-One For Dummies- P15: Welcome to Flash CS4 All-in-One For Dummies. Our goal when writing this book was to share our enthusiasm for Flash and, at the same time, demystify the application. You can do so many things with Flash that it becomes mind boggling. The minibooks in this reference are designed to take the boggle out of your mind and show you how to use Flash to create Web banners, animations, and other delights. We also delve into the topics of ActionScript and Flash video. | Embedded Video in Flash Old School 397 Figure 1-5 Setting the Embed option in the Import Video dialog box. Book VI Chapter 1 Playing Video with Flash The Producer s Chair 5. After you select your video click the Continue button. The Embedding page opens. By default the Symbol Type pull-down menu is set to Embedded and both check boxes Place Instance on Stage and Expand Timeline If Needed are selected. 6. To accept these default settings click the Continue button. The Finish Video Import page opens see Figure 1-6 . 7. If the selected video is the one you want click the Finish button otherwise click the Back button Windows or the Go Back button Mac and load the correct files as shown in Step 3. 8. When you see the video on the Stage adjust its placement by dragging it or using the Align panel. Figure 1-7 shows an example of what you may see. Notice that the piece of video you see is considerably smaller than the video shown in Figure 1-2 earlier in this chapter. 398 Embedded Video in Flash Old School Figure 1-6 The final page before video is embedded. Figure 1-7 The first frame of the video appears on the Stage. Progressive Downloading Almost Streaming from a Web Server 399 Essentially this process cuts the video into separate frames and displays them in a fashion similar to setting a separate JPEG files in each frame. This video can be looped just like any other movie or it can be stopped and started with ActionScript . After you test your Flash application see how big your SWF file is. In our test of the example embedded video used in this section the file is 205KB. Considering that the video is only a few seconds long that file is a large one. Users with slow Internet connections may become impatient as this file loads. Before you decide to use this method for even a small movie look at the next section for a much smarter alternative. Progressive Downloading Almost Streaming from a Web Server As we note earlier in this chapter using embedded video is .
đang nạp các trang xem trước