Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > FLVPlayback Component | |||
The FLVPlayback component lets you easily include a video player in your Flash application to play progressively downloaded Flash video (FLV) files over HTTP or play streaming FLV files from a Flash Media Server (FMS) or from a Flash Video Streaming Service (FVSS).
|
NOTE |
|
A FLVPlayback component is supported for both ActionScript 2.0 and ActionScript 3.0. This document discusses the version 2 component. If you are using the version 3 component, see Using the CheckBox in Using ActionScript 3.0 Components. |
The easy-to-use FLVPlayback component has the following characteristics and benefits:
The FLVPlayback component includes the FLV Playback Custom UI components. The FLVPlayback component is a combination of the display area, or video player, in which you view the FLV file and the controls that allow you to operate it. The FLV Playback Custom UI components provide control buttons and mechanisms that you can use to play, stop, pause, and otherwise control the FLV file. These controls include the BackButton, BufferingBar, ForwardButton, MuteButton, PauseButton, PlayButton, PlayPauseButton, SeekBar, StopButton, and VolumeBar. The FLVPlayback component and the FLV Playback Custom UI controls appear in the Components panel, as shown in the following figure:
The process of adding playback controls to the FLVPlayback component is called skinning. The FLVPlayback component has an initial default skin, ClearOverPlaySeekMute.swf, that provides transparent controls for the play, seek, and mute functions. To change this skin, you have the following choices:
After you select a different skin, the selected skin becomes the new default skin.
For more information about selecting or creating a skin for the FLVPlayback component, see Customizing the FLVPlayback component.
The FLVPlayback component also includes an ActionScript application programming interface (API). The API includes the FLVPlayback, VideoError, and VideoPlayer classes. For more information on these classes, see FLVPlayback class, the VideoPlayer class, and the VideoError class.
Flash CS3