Kiểm soát tải và ngoài Video Với sự phổ biến ngày càng tăng của băng thông rộng, việc sử dụng video trong các ứng dụng tiếp tục leo thang. May mắn cho chúng tôi, do đó, làm Flash của khả năng cho tải và chơi video. | Loading and Controlling External Video With the growing popularity of broadband the use of video in applications continues to escalate. Fortunately for us so do Flash s capabilities for loading and playing video. The previous version of Flash Flash MX could load and play external video clips but only with the assistance of Flash Communication Server. It was possible to embed video clips within the SWF but this tended to make the file size rather large. Not only does Flash MX 2004 not need Flash Communication Server when using external video but it provides some excellent tools in the form of Media components. These tools make the process of using video in your applications much easier. External video clips have some great advantages over embedded clips The clip can be edited separately from the SWFs that use it. The clip can be progressively downloaded as it plays making it unnecessary for the entire clip to load before it can be viewed. The clip can play at a different frame rate than the SWF in which it s loaded ensuring that the video clip always plays at the intended frame rate. To use an external video clip in a Flash project it must first be converted to the .flv Flash Video file format. Flash has the built-in capability to import most video formats including AVI and QuickTime which can then be exported to the FLV format for use as an externally loaded clip. Although this is a sufficient means for creating FLV files you may want to create edit and eventually export a video from your favorite videoediting application such as Adobe Premiere. Fortunately Flash MX 2004 Professional ships with the Flash Video Exporter. After installation the Exporter allows you to export FLV files directly from your favorite video-editing application. For more information about importing and creating FLV files consult your Flash documentation. TIP Sorenson Media s excellent application called Sorenson Squeeze was built for the purpose of creating FLV files from many video file .