|
Free Open Book
Macromedia Flash 8 Bible |
Integrating Video: The SolutionsIn Flash 8, there are four ways in which you can deploy video content. In the following sections, we provide a high-level overview of these methods. Loading a Flash Video File at Run TimeStarting with Flash Player 7-compatible movies, you can load Flash Video files (.flv) at run time. When we say "run time," we mean that you can create a separate Flash Video file (.flv), upload it to your Web server, and use ActionScript code or a component to load the video directly into your Flash movie (.swf) as it plays in the Web browser. You can create Flash Video files by:
Real-Time Streaming a Flash Video File at Run TimeIn the previous section, you learned that it's possible to load a Flash Video file directly into a Flash movie file (.swf) as it plays in a Web browser. However, when you use this type of loading, the Flash Video file is loaded and cached as any other asset accessed at run time. As such, if you have a large video file but only want to watch the last portion of the video, you'll have to wait until most of the video file has been downloaded. One way you can offer your users the fastest access to Flash Video files (.flv) is to stream the video in real time with Macromedia Flash Communication Server or a Flash Video Streaming Service provider. With this server technology, a Flash Video file is only temporarily cached in the Flash Player's memory. You can more easily protect copyrighted material, and users can seek to any point in the video with minimal wait times.
Embedding Video into a Flash MovieThe third method that you can use to view video is to embed the video file in the Flash document file (.fla), where it is then published directly inside the Flash movie file (.swf). This method is compatible with Flash Player 6 or higher movies. Flash 8, in either the Basic or Pro edition, can encode your video with the Sorenson Spark or On2 VP6 codec (discussed later in this chapter). It's important to understand that these codecs don't require additional plug-ins for playback — the Web user needs only to have Flash Player 6 or higher (for Sorenson Spark) or Flash Player 8 (for On2 VP6) installed with his browser. Neither Spark nor VP6 use any system-level video codecs; the codecs are built into the Flash Player plug-in. When you import a video clip as an Embedded Video object, the video is stored in the Library as a Flash Video file (.flv).
Linking Video with QuickTime FlashWhen Flash 4 was released, QuickTime movies could be imported into the Flash authoring environment. There, you could animate and develop Flash content that interacted with the QuickTime movie. However, in Flash 4 and 5, you could only export QuickTime Flash movies (.mov) that required the Apple QuickTime 4 (or higher) Player to view. The QuickTime video files were linked to the Flash document (.fla file), which meant that the Flash document didn't store the actual video content. You can still use linked video files in Flash 8 to create QuickTime Flash movies.
|
Main Menu |
| 500 Juegos Gratis | 500 Giochi Gratis | 500 Jeux Gratuits | 500 Jogos Gratis | 500 Kostenlose Spiele |