Packagecom.adobe.mediacore.events
Classpublic final class MediaPlayerItemEvent
InheritanceMediaPlayerItemEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  item : MediaPlayerItem
[read-only] The media item associated with this event.
MediaPlayerItemEvent
Public Methods
 MethodDefined By
  
MediaPlayerItemEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, item:MediaPlayerItem = null)
Default constructor
MediaPlayerItemEvent
  
clone():Event
[override]
MediaPlayerItemEvent
  
[static] Factory method
MediaPlayerItemEvent
Public Constants
 ConstantDefined By
  AUDIO_UPDATED : String = audioUpdated
[static] Event dispatched when a media player item is updated.
MediaPlayerItemEvent
  CAPTION_UPDATED : String = captionUpdated
[static] Event dispatched when a media player item is updated.
MediaPlayerItemEvent
  ITEM_CREATED : String = itemCreated
[static] Event dispatched when a media player item is created.
MediaPlayerItemEvent
  ITEM_UPDATED : String = itemUpdated
[static] Event dispatched when a media player item is updated.
MediaPlayerItemEvent
  MASTER_UPDATED : String = masterUpdated
[static] Event dispatched when a media player item is updated.
MediaPlayerItemEvent
Property Detail
itemproperty
item:MediaPlayerItem  [read-only]

The media item associated with this event.


Implementation
    public function get item():MediaPlayerItem
Constructor Detail
MediaPlayerItemEvent()Constructor
public function MediaPlayerItemEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, item:MediaPlayerItem = null)

Default constructor

Parameters
type:String — Event type.
 
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
 
item:MediaPlayerItem (default = null) — Associated media item.
Method Detail
clone()method
override public function clone():Event

Returns
Event
create()method 
public static function create(type:String, item:MediaPlayerItem):MediaPlayerItemEvent

Factory method

Parameters

type:String — event type.
 
item:MediaPlayerItem — associated media item

Returns
MediaPlayerItemEvent — a valid MediaPlayerItemEvent instance.
Constant Detail
AUDIO_UPDATEDConstant
public static const AUDIO_UPDATED:String = audioUpdated

Event dispatched when a media player item is updated. For certain streams that contain audio tracks that are only detectable at playback time, this event is fired when new audio tracks are available.

CAPTION_UPDATEDConstant 
public static const CAPTION_UPDATED:String = captionUpdated

Event dispatched when a media player item is updated. For live/linear streams the client must periodically refresh the media resource to detect the new available content. When this happen certain media characteristics might change.

ITEM_CREATEDConstant 
public static const ITEM_CREATED:String = itemCreated

Event dispatched when a media player item is created. The newly created media player item can be accessed through item property of this event.

ITEM_UPDATEDConstant 
public static const ITEM_UPDATED:String = itemUpdated

Event dispatched when a media player item is updated. For live/linear streams the client must periodically refresh the media resource to detect the new available content. When this happen certain media characteristics might change.

MASTER_UPDATEDConstant 
public static const MASTER_UPDATED:String = masterUpdated

Event dispatched when a media player item is updated. For live/linear streams the client must periodically refresh the media resource to detect the new available content. When this happen certain media characteristics might change.