Package | com.adobe.mediacore.events |
Class | public final class TimelineEvent |
Inheritance | TimelineEvent ![]() |
Property | Defined By | ||
---|---|---|---|
timeline : Timeline [read-only]
The media item timeline associated with this event. | TimelineEvent |
Method | Defined By | ||
---|---|---|---|
TimelineEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, timeline:Timeline = null)
Default constructor
| TimelineEvent | ||
clone():Event [override]
| TimelineEvent | ||
[static]
Factory method
| TimelineEvent |
Constant | Defined 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 |
timeline | property |
timeline:Timeline
[read-only] The media item timeline associated with this event.
public function get timeline():Timeline
TimelineEvent | () | Constructor |
public function TimelineEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, timeline:Timeline = null)
Default constructor
Parameterstype: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.
|
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.
|
TimelineEvent — a valid TimelineEvent instance.
|
RESERVATIONS_UPDATED | Constant |
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_UPDATED | Constant |
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.