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:

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:

Availability: ActionScript 1.0; Flash Lite 2.0 - The ability to play Flash Video (FLV) files was added in Flash Player 7.

Property summary

Properties inherited from class Object

constructor (Object.constructor property), __proto__ (Object.__proto__ property), prototype (Object.prototype property), __resolve (Object.__resolve property)


Event summary

Event

Description

onStatus = function(infoObject:Object) {}

Callback handler that can be invoked by the device to indicate status or error conditions.

Method summary

Modifiers

Signature

Description

 

close() : Void

Stops playback of the video, frees the memory associated with this Video object, and clears the video area onscreen.

 

pause() : Void

Stops playback of the video and continues to render the current frame onscreen.

 

play() : Boolean

Calling this method opens a video source and begins playback of a video.

 

resume() : Void

Calling this method resumes playback of the video.

 

stop() : Void

Stops playback of the video and continues to render the current frame onscreen.

Methods inherited from class Object

addProperty (Object.addProperty method), hasOwnProperty (Object.hasOwnProperty method), isPropertyEnumerable (Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf method), registerClass (Object.registerClass method), toString (Object.toString method), unwatch (Object.unwatch method), valueOf (Object.valueOf method), watch (Object.watch method)