Packagecom.adobe.mediacore.events
Classpublic class MediaPlayerEvent
InheritanceMediaPlayerEvent Inheritance flash.events.Event

Event dispatched by the MediaPlayer



Public Methods
 MethodDefined By
  
MediaPlayerEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Default constructor.
MediaPlayerEvent
  
clone():Event
[override]
MediaPlayerEvent
Public Constants
 ConstantDefined By
  MEDIA_PLAYER_ADS_CHANGE : String = mediaPlayerAdsChange
[static] The type of the event dispatched when the ads property on the MediaPlayer has changed.
MediaPlayerEvent
  MEDIA_PLAYER_CURRENT_TIME_CHANGE : String = mediaPlayerCurrentTimeChange
[static] The type of the event dispatched when the currentTime property on the MediaPlayer has changed
MediaPlayerEvent
  MEDIA_PLAYER_DURATION_CHANGE : String = mediaPlayerDurationChange
[static] The type of the event dispatched when the duration property on the MediaPlayer has changed
MediaPlayerEvent
  MEDIA_PLAYER_ITEM_REPLACE : String = mediaPlayerItemReplace
[static] The type of the event dispatched when a MediaPlayerItem is replaced
MediaPlayerEvent
  MEDIA_PLAYER_PLAY_COMPLETE : String = mediaPlayerPlayComplete
[static] The type of the event dispatched when the playback of the MediaPlayerItem is complete
MediaPlayerEvent
  MEDIA_PLAYER_PLAY_START : String = mediaPlayerPlayStart
[static] The type of the event dispatched when the playback of the MediaPlayerItem has started
MediaPlayerEvent
  MEDIA_PLAYER_RELATIVE_TIME_OFFSET_CHANGE : String = mediaPlayerRelativeTimeOffsetChange
[static] The type of the event dispatched when the relativeTimeOffset property on the MediaPlayer has changed
MediaPlayerEvent
  MEDIA_PLAYER_VIDEO_RENDER_START : String = mediaPlayerVideoRenderStart
[static] The type of the event dispatched when the playback of the MediaPlayerItem has started and video is visible on the screen
MediaPlayerEvent
  MEDIA_PLAYER_VIEW_IS_USING_STAGE_VIDEO_CHANGE : String = mediaPlayerViewIsUsingStageVideoChange
[static] The type of the event dispatched when the viewIsStageVideo property on the MediaPlayer has changed.
MediaPlayerEvent
  MEDIA_PLAYER_VIEW_VIDEO_BOUNDS_CHANGE : String = mediaPlayerViewVideoBoundsChange
[static] The type of the event dispatched when the videoBounds property on the MediaPlayer has changed.
MediaPlayerEvent
Constructor Detail
MediaPlayerEvent()Constructor
public function MediaPlayerEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Default constructor.

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
MEDIA_PLAYER_ADS_CHANGEConstant
public static const MEDIA_PLAYER_ADS_CHANGE:String = mediaPlayerAdsChange

The type of the event dispatched when the ads property on the MediaPlayer has changed.

MEDIA_PLAYER_CURRENT_TIME_CHANGEConstant 
public static const MEDIA_PLAYER_CURRENT_TIME_CHANGE:String = mediaPlayerCurrentTimeChange

The type of the event dispatched when the currentTime property on the MediaPlayer has changed

MEDIA_PLAYER_DURATION_CHANGEConstant 
public static const MEDIA_PLAYER_DURATION_CHANGE:String = mediaPlayerDurationChange

The type of the event dispatched when the duration property on the MediaPlayer has changed

MEDIA_PLAYER_ITEM_REPLACEConstant 
public static const MEDIA_PLAYER_ITEM_REPLACE:String = mediaPlayerItemReplace

The type of the event dispatched when a MediaPlayerItem is replaced

MEDIA_PLAYER_PLAY_COMPLETEConstant 
public static const MEDIA_PLAYER_PLAY_COMPLETE:String = mediaPlayerPlayComplete

The type of the event dispatched when the playback of the MediaPlayerItem is complete

MEDIA_PLAYER_PLAY_STARTConstant 
public static const MEDIA_PLAYER_PLAY_START:String = mediaPlayerPlayStart

The type of the event dispatched when the playback of the MediaPlayerItem has started

MEDIA_PLAYER_RELATIVE_TIME_OFFSET_CHANGEConstant 
public static const MEDIA_PLAYER_RELATIVE_TIME_OFFSET_CHANGE:String = mediaPlayerRelativeTimeOffsetChange

The type of the event dispatched when the relativeTimeOffset property on the MediaPlayer has changed

MEDIA_PLAYER_VIDEO_RENDER_STARTConstant 
public static const MEDIA_PLAYER_VIDEO_RENDER_START:String = mediaPlayerVideoRenderStart

The type of the event dispatched when the playback of the MediaPlayerItem has started and video is visible on the screen

MEDIA_PLAYER_VIEW_IS_USING_STAGE_VIDEO_CHANGEConstant 
public static const MEDIA_PLAYER_VIEW_IS_USING_STAGE_VIDEO_CHANGE:String = mediaPlayerViewIsUsingStageVideoChange

The type of the event dispatched when the viewIsStageVideo property on the MediaPlayer has changed.

MEDIA_PLAYER_VIEW_VIDEO_BOUNDS_CHANGEConstant 
public static const MEDIA_PLAYER_VIEW_VIDEO_BOUNDS_CHANGE:String = mediaPlayerViewVideoBoundsChange

The type of the event dispatched when the videoBounds property on the MediaPlayer has changed.