Package | feathers.events |
Class | public class MediaPlayerEventType |
Inheritance | MediaPlayerEventType Object |
Product Version : | Feathers 2.2.0 |
type
constants for Feathers media player controls.
This class is not a subclass of starling.events.Event
because these constants are meant to be used with
dispatchEventWith()
and take advantage of the Starling's
event object pooling. The object passed to an event listener will be of
type starling.events.Event
.
function listener( event:Event ):void { trace( mediaPlayer.currentTime ); } mediaPlayer.addEventListener( MediaPlayerEventType.CURRENT_TIME_CHANGE, listener );
Constant | Defined By | ||
---|---|---|---|
CUE_POINT : String = cuePoint [static]
Dispatched when the media's cue point is reached. | MediaPlayerEventType | ||
CURRENT_TIME_CHANGE : String = currentTimeChange [static]
Dispatched when a media player's current playhead time changes. | MediaPlayerEventType | ||
DIMENSIONS_CHANGE : String = dimensionsChange [static]
Dispatched when the original, native width or height of a video
player's content is calculated. | MediaPlayerEventType | ||
DISPLAY_STATE_CHANGE : String = displayStageChange [static]
Dispatched when a media player changes to the full-screen display mode
or back to the normal display mode. | MediaPlayerEventType | ||
LOAD_COMPLETE : String = loadComplete [static]
Dispatched when a media player's content is fully loaded and it
may be played to completion without buffering. | MediaPlayerEventType | ||
LOAD_PROGRESS : String = loadProgress [static]
Dispatched periodically when a media player's content is loading to
indicate the current progress. | MediaPlayerEventType | ||
METADATA_RECEIVED : String = metadataReceived [static]
Dispatched when the media's metadata becomes available. | MediaPlayerEventType | ||
PLAYBACK_STATE_CHANGE : String = playbackStageChange [static]
Dispatched when a media player's playback state changes, such as when
it begins playing or is paused. | MediaPlayerEventType | ||
SOUND_TRANSFORM_CHANGE : String = soundTransformChange [static]
Dispatched when a media player's sound transform is changed. | MediaPlayerEventType | ||
TOTAL_TIME_CHANGE : String = totalTimeChange [static]
Dispatched when a media player's total playhead time changes. | MediaPlayerEventType | ||
XMP_DATA : String = xmpData [static]
Dispatched when the media's XMP data is read. | MediaPlayerEventType |
CUE_POINT | Constant |
public static const CUE_POINT:String = cuePoint
Dispatched when the media's cue point is reached.
CURRENT_TIME_CHANGE | Constant |
public static const CURRENT_TIME_CHANGE:String = currentTimeChange
Dispatched when a media player's current playhead time changes.
DIMENSIONS_CHANGE | Constant |
public static const DIMENSIONS_CHANGE:String = dimensionsChange
Dispatched when the original, native width or height of a video player's content is calculated.
DISPLAY_STATE_CHANGE | Constant |
public static const DISPLAY_STATE_CHANGE:String = displayStageChange
Dispatched when a media player changes to the full-screen display mode or back to the normal display mode.
LOAD_COMPLETE | Constant |
public static const LOAD_COMPLETE:String = loadComplete
Dispatched when a media player's content is fully loaded and it may be played to completion without buffering.
LOAD_PROGRESS | Constant |
public static const LOAD_PROGRESS:String = loadProgress
Dispatched periodically when a media player's content is loading to indicate the current progress.
METADATA_RECEIVED | Constant |
public static const METADATA_RECEIVED:String = metadataReceived
Dispatched when the media's metadata becomes available.
PLAYBACK_STATE_CHANGE | Constant |
public static const PLAYBACK_STATE_CHANGE:String = playbackStageChange
Dispatched when a media player's playback state changes, such as when it begins playing or is paused.
SOUND_TRANSFORM_CHANGE | Constant |
public static const SOUND_TRANSFORM_CHANGE:String = soundTransformChange
Dispatched when a media player's sound transform is changed.
TOTAL_TIME_CHANGE | Constant |
public static const TOTAL_TIME_CHANGE:String = totalTimeChange
Dispatched when a media player's total playhead time changes.
XMP_DATA | Constant |
public static const XMP_DATA:String = xmpData
Dispatched when the media's XMP data is read.