Introduction to Flash Lite 2.x ActionScript |
|
||
| Unsupported and Partially Supported Classes > Video class | |||
Flash Lite 2.x lets you work with device-specific video formats, and supports the following types of video playback:
Flash Lite 2.x supports device video. Device video is stored in the published SWF file in the device's native video format. To play the device video, Flash Lite passes the video data to the device, which then decodes and plays the video.
|
NOTE |
Flash Lite 2.x ActionScript does not support the |
For more information about the Video class, see the following references:
The following table lists the methods that are not supported by the Video class when using ActionScript for Flash Lite 2.x.
|
Method |
Description |
Support |
|---|---|---|
attachVideo
|
Specifies a video stream (source) to be displayed within the boundaries of the Video object on the Stage. |
Not supported |
clear
|
Clears the image currently displayed in the Video object. This is useful when, for example, you want to display standby information without having to hide the Video object. |
Not supported |
The following table lists the properties of the Video class that are not supported when using ActionScript for Flash Lite 2.x.
|
Property |
Description |
|---|---|
deblocking
|
Indicates the type of deblocking filter applied to decoded video as part of postprocessing. Two deblocking filters are available: one in the Sorenson codec and one in the On2 VP6 codec. |
height
|
An integer specifying the height of the video stream, in pixels. |
smoothing
|
Specifies whether the video should be smoothed (interpolated) when it is scaled. For smoothing to work, the player must be in high-quality mode. |
width
|
An integer specifying the width of the video stream, in pixels. |
The Video class for Flash Lite 2.x adds the following new methods.
|
Method |
Description |
|---|---|
play()
|
Opens a video source and begins playing the video. |
close()
|
Stops playing the video, frees the memory associated with this Video object, and clears the Video area onscreen. |
stop()
|
Stops playing the video and continues to render the current frame onscreen. A subsequent call to |
pause()
|
Stops playing the video and continues to render the current frame onscreen. A subsequent call to |
resume()
|
Resumes playing the video. |
|
|
||