Packagecom.adobe.mediacore.events
Classpublic final class VideoEngineTimelineEvent
InheritanceVideoEngineTimelineEvent Inheritance flash.events.Event

Event dispatched by the video engine when its timeline changes.



Public Properties
 PropertyDefined By
  placement : TimelineOperation
[read-only] The ad break successfully placement associated with this event.
VideoEngineTimelineEvent
  proposal : TimelineOperation
[read-only] The ad break proposal associated with this event.
VideoEngineTimelineEvent
Public Methods
 MethodDefined By
  
VideoEngineTimelineEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, proposal:TimelineOperation = null, placement:TimelineOperation = null)
Default constructor.
VideoEngineTimelineEvent
  
clone():Event
[override]
VideoEngineTimelineEvent
  
[static] Factory method for creating a PLACEMENT_COMPLETED event.
VideoEngineTimelineEvent
  
[static] Factory method for creating a PLACEMENT_FAILED event.
VideoEngineTimelineEvent
Public Constants
 ConstantDefined By
  OPERATION_COMPLETED : String = placementCompleted
[static] Event dispatched when an ad break proposal was successfully placed on the video timeline.
VideoEngineTimelineEvent
  OPERATION_FAILED : String = placementFailed
[static] Event dispatched when an error occurred while trying to place an ad break proposal on the video timeline.
VideoEngineTimelineEvent
Property Detail
placementproperty
placement:TimelineOperation  [read-only]

The ad break successfully placement associated with this event.


Implementation
    public function get placement():TimelineOperation
proposalproperty 
proposal:TimelineOperation  [read-only]

The ad break proposal associated with this event.


Implementation
    public function get proposal():TimelineOperation
Constructor Detail
VideoEngineTimelineEvent()Constructor
public function VideoEngineTimelineEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, proposal:TimelineOperation = null, placement:TimelineOperation = 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.
 
proposal:TimelineOperation (default = null) — The proposal for this timeline placement operation.
 
placement:TimelineOperation (default = null) — The actual placement on the timeline.
Method Detail
clone()method
override public function clone():Event

Returns
Event
createCompleted()method 
public static function createCompleted(proposal:TimelineOperation, placement:TimelineOperation):VideoEngineTimelineEvent

Factory method for creating a PLACEMENT_COMPLETED event.

Parameters

proposal:TimelineOperation — The proposal for this timeline placement operation.
 
placement:TimelineOperation — The actual placement on the timeline.

Returns
VideoEngineTimelineEvent — a valid VideoEngineTimelineEvent
createFailed()method 
public static function createFailed(proposal:TimelineOperation):VideoEngineTimelineEvent

Factory method for creating a PLACEMENT_FAILED event.

Parameters

proposal:TimelineOperation — The proposal for this timeline placement operation.

Returns
VideoEngineTimelineEvent — a valid VideoEngineTimelineEvent
Constant Detail
OPERATION_COMPLETEDConstant
public static const OPERATION_COMPLETED:String = placementCompleted

Event dispatched when an ad break proposal was successfully placed on the video timeline.

OPERATION_FAILEDConstant 
public static const OPERATION_FAILED:String = placementFailed

Event dispatched when an error occurred while trying to place an ad break proposal on the video timeline.