Field Summary |
public
| addEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| completeHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| removeEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
|
Property Summary |
public
| buffer: Number (write)
|
| Sets the amount in seconds that the video will be buffered.
|
|
public
| buffer: Number (read)
|
| Gets the amount in seconds that the video will be buffered.
|
|
public
| bytesLoaded: Number (read-only)
|
| Gets the amount of bytes loaded of the flv file.
|
|
public
| bytesTotal: Number (read-only)
|
| Gets the total amount of bytes of the flv file.
|
|
public
| maintainRatio: Boolean (write)
|
| Sets whether the video will scale to the correct aspect ratio once it is loaded.
|
|
public
| maintainRatio: Boolean (read)
|
| Sets the video aspect ratio mode of the component.
|
|
public
| url: String (write)
|
| Sets the url pointing to the location of an flv file.
|
|
public
| url: String (read)
|
| Gets the url pointing to the location of an flv file.
|
|
|
Constructor |
public
| VideoPlayer (
Void)
|
|
|
|
Method Summary |
public static
| create (
target: MovieClip, id: String, depth: Number, initObj: Object
): VideoPlayer |
| Static method used to create an instance of a VideoPlayer on stage at run time.
|
|
public
| pause (
Void
): Void |
| Pauses the playback of the Video, if currently playing, without altering the currentl playhead time.
|
|
public
| play (
Void
): Void |
| If the video has not been played yet, will start the video playing from the beginning. Otherwise, if the video has been started and paused or rewinded, will play the video from the current playhead time.
|
|
public
| rewind (
Void
): Void |
| Stops the playback of the Video, if currently playing, and returns the playhead to the beginning of the video.
|
|
|
|