• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 18. Using Video > Using Video

Using Video

Next you'll learn some of the ways to display videos—both embedded into your .swf and created as an .flv that resides outside of your file. In this section you'll see how to control the playback of your videos (like giving the user a stop and play button) as well as using special effects such as masking. The creative side of displaying a video is much more interesting than the technical details. But, because the technical details vary between embedded and external video I've separated the two.

Playing an Embedded Video

As a review, a sound in a keyframe that is set to Event begins to play when that frame is reached, and it continues to play until it's finished—even if the Timeline slows down to display all the frames. Stream sounds are locked to the Timeline. This means that you need to make sure that the sound has enough space in the Timeline to finish. The reason to review Stream sounds at this point is that an embedded video placed in a keyframe needs enough space in the Timeline to finish playing the audio portion. For example, if the video is 10 seconds long and the frame rate is 12 fps, you need 120 frames in the Timeline. Flash will tell you exactly how many frames are needed if you drag an embedded video into a timeline that's too short. Another reason to remember Stream sounds is that by default all the audio in an embedded video is affected by the global publish setting for stream audio (which you set by selecting File, Publish Settings to open the Publish Settings dialog box and then selecting the Flash tab).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint