Video
711
Video
Object
|
+-Video
public class
Video
extends
Object
The Video class enables you to display video content that is embedded in your SWF file,
stored locally on the host device, or streamed in from a remote location.
Note:
The player for Flash Lite 2.0 handles video differently than Flash Player 7 does. These
are the major differences:
■
Flash Player 7 directly renders the video data (embedded or streaming). The player for
Flash Lite 2.0 does not render the video data; instead it hands the data off to the mobile
device.
■
Flash Player 7 supports many video formats in addition to FLV. Flash Lite 2.0 supports
video playback in the following cases: video embedded in a SWF file; video that resides in
a separate file on the host device; and video data that is streamed in over the network (in
real time). The player for Flash Lite 2.0 supports only those video formats that a specific
mobile device supports.
■
Flash Player 7 lets you bundle the data in a SWF file or stream it by using the Video object
and assigning either a NetStream object or Camera object as the source of the video
information. However, the player for Flash Lite 2.0 does not support the NetStream and
Camera objects. Instead, Flash Lite 2.0 uses a new library symbol type called Video to
embed source video data and to stream video for mobile devices. Because Flash Lite 2.0
does not support the NetStream object, you use the methods and properties of the Video
class to control the video playback.
Because of the requirements of mobile devices (smaller processor speeds, memory restrictions,
and proprietary encoding formats), Flash Lite 2.0 cannot render the video information
directly. The supported file formats for video depend on the mobile device manufacturer. For
more information about supported video formats, check the hardware platforms on which
you plan to deploy your application.
Flash Lite 2.0 does not support the following Flash Player 7 features:
■
Streaming of video data from a Flash Communication Server MX
■
Recording video
Availability:
ActionScript 1.0; Flash Lite 2.0 - The ability to play Flash Video (FLV) files was
added in Flash Player 7.
Summary of Contents for Flash Lite 2
Page 1: ...Flash Lite 2 x ActionScript Language Reference...
Page 22: ...22 Contents...
Page 244: ...244 ActionScript language elements...
Page 760: ...760 ActionScript classes...