mx.controls.streamingmedia.IPlayer
IPlayer defines the interface for the implementation classes that play streaming media files.
public function play(startingPoint:Number):Void
Play the media starting at the specified starting point. If the media hasn't yet been loaded, load it.
- Parameters
startingPoint
The number of seconds into the media to start at. This is an optional parameter. If omitted, playing will occur at the current playhead position.
function getPlayheadTime():Number
- Return
- The playhead position, measued in seconds since the start.
function getMediaBytesLoaded():Number
- Return
- The number of bytes of the media that has loaded.
function getTotalTime():Number
- Return
- The total time of the media, in seconds. For some media types this will be calculated based on the elapsed time, bytes loaded, and bytes total. For others, it will be a property.