| Previous | Next | Frames | No Frames |
| Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
Object
|
+--mx.controls.streamingmedia.AbstractPlayer
|
+--mx.controls.streamingmedia.FLVPlayer
Field Summary | ||
| public | _video: Video | |
| Embedded video object used to display video | ||
| public | _videoHolder: MovieClip | |
| Holds the video. | ||
| ||
| ||
Constructor | ||
| public | FLVPlayer ( aMediaUrl: String, aVideoHolder: MovieClip, aTotalTime: Number) | |
| Constructor. | ||
Method Summary | ||
| public | addListener ( aListener: Object ): Void | |
| public | broadcastEvent ( status: String ): Void | |
| The listeners must implement the "handlePlayer" function which takes the current status as a parameter. | ||
| public | bufferIsFull ( ): Void | |
| public | close ( ): Void | |
| Close the player | ||
| public | doneUpdateFrame ( ): Void | |
| Stop the playback. | ||
| public | getMediaBytesLoaded ( ): Number | |
| public | getMediaBytesTotal ( ): Number | |
| public | getMediaUrl ( ): String | |
| public | getPlayheadTime ( ): Number | |
| public | getTotalTime ( ): Number | |
| public | getVolume ( ): Number | |
| public | isSizeChange ( ): Boolean | |
| public | isSizeSet ( ): Boolean | |
| public | load ( ): Void | |
| Load the media without playing it. | ||
| public | logError ( error: String ): Void | |
| public | mediaLoaded ( ): Void | |
| Called when the media is completely loaded. | ||
| public | pause ( ): Void | |
| Stop playback of the media without moving the playhead. | ||
| public | play ( startingPoint: Number ): Void | |
| Play the media starting at the specified starting point. | ||
| public | playStopped ( ): Void | |
| The media finished playing. | ||
| public | removeAllListeners ( ): Void | |
| public | resizeVideo ( ): Void | |
| public | setMediaUrl ( aUrl: String ): Void | |
| public | setPlayheadTime ( position: Number ): Void | |
| public | setSeeking ( isSeeking: Boolean ): Void | |
| For FLVPlayer, this is a no-op | ||
| public | setTotalTime ( aTime: Number ): Void | |
| public | setVolume ( aVol: Number ): Void | |
| public | stop ( ): Void | |
| Stop playback of the media and reset the playhead to zero. | ||
| public | toString ( ): String | |
| ||
| ||
| public var _video: Video |
| Embedded video object used to display video |
| public var _videoHolder: MovieClip |
| Holds the video. Also used to control volume |
|
| Constructor. |
|
|
|
| The listeners must implement the "handlePlayer" function which takes the current status as a parameter. |
|
|
|
| Close the player |
|
|
| Stop the playback. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Load the media without playing it. |
|
|
|
|
| Called when the media is completely loaded. |
|
|
| Stop playback of the media without moving the playhead. |
|
|
| Play the media starting at the specified starting point. If the media hasn't yet been loaded, load it. | |||
|
|
| The media finished playing. |
|
|
|
|
|
|
|
|
|
|
| For FLVPlayer, this is a no-op |
|
|
|
|
|
| Stop playback of the media and reset the playhead to zero. |
|
|
|