Packagecom.adobe.mediacore.events
Classpublic final class TimelineEvent
InheritanceTimelineEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  timeline : Timeline
[read-only] The media item timeline associated with this event.
TimelineEvent
Public Methods
 MethodDefined By
  
TimelineEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, timeline:Timeline = null)
Default constructor
TimelineEvent
  
clone():Event
[override]
TimelineEvent
  
create(type:String, timeline:Timeline):TimelineEvent
[static] Factory method
TimelineEvent
Public Constants
 ConstantDefined By
  RESERVATIONS_UPDATED : String = reservationUpdated
[static] Event dispatched when new reservation are added or old reservations are removed from the media player timeline.
TimelineEvent
  TIMELINE_UPDATED : String = timelineUpdated
[static] Event dispatched when the media player timeline is updated.
TimelineEvent
Property Detail
timelineproperty
timeline:Timeline  [read-only]

The media item timeline associated with this event.


Implementation
    public function get timeline():Timeline
Constructor Detail
TimelineEvent()Constructor
public function TimelineEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, timeline:Timeline = 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.
 
timeline:Timeline (default = null) — Associated media player timeline.
Method Detail
clone()method
override public function clone():Event

Returns
Event
create()method 
public static function create(type:String, timeline:Timeline):TimelineEvent

Factory method

Parameters

type:String — Event type.
 
timeline:Timeline — Associated media player timeline.

Returns
TimelineEvent — a valid TimelineEvent instance.
Constant Detail
RESERVATIONS_UPDATEDConstant
public static const RESERVATIONS_UPDATED:String = reservationUpdated

Event dispatched when new reservation are added or old reservations are removed from the media player timeline. The updated media player timeline can be accessed through timeline property of this event.

TIMELINE_UPDATEDConstant 
public static const TIMELINE_UPDATED:String = timelineUpdated

Event dispatched when the media player timeline is updated. The updated media player timeline can be accessed through timeline property of this event.