| Package | com.adobe.mediacore.events |
| Class | public final class OpportunityHandledEvent |
| Inheritance | OpportunityHandledEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| placement : Placement [read-only]
The opportunity placement associated with this event. | OpportunityHandledEvent | ||
| Method | Defined By | ||
|---|---|---|---|
OpportunityHandledEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, placement:Placement = null)
Default constructor. | OpportunityHandledEvent | ||
clone():Event [override]
| OpportunityHandledEvent | ||
[static]
Factory method for creating a OPERATION_SUCCESSFUL event. | OpportunityHandledEvent | ||
[static]
Factory method for creating a OPERATION_FAILED event. | OpportunityHandledEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| OPERATION_FAILED : String = failed [static]
Event dispatched when an error occurred while trying to place a resolved opportunity on the video timeline. | OpportunityHandledEvent | ||
| OPERATION_SUCCESSFUL : String = successful [static]
Event dispatched when an opportunity was successfully resolved and placed on the video timeline. | OpportunityHandledEvent | ||
| placement | property |
placement:Placement [read-only] The opportunity placement associated with this event.
public function get placement():Placement| OpportunityHandledEvent | () | Constructor |
public function OpportunityHandledEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, placement:Placement = 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.
| |
placement:Placement (default = null) — The actual placement on the timeline.
|
| clone | () | method |
override public function clone():EventReturns
Event |
| createCompleted | () | method |
public static function createCompleted(placement:Placement):OpportunityHandledEventFactory method for creating a OPERATION_SUCCESSFUL event.
Parameters
placement:Placement — The actual placement on the timeline.
|
OpportunityHandledEvent — a valid OpportunityHandledEvent
|
| createFailed | () | method |
public static function createFailed(placement:Placement):OpportunityHandledEventFactory method for creating a OPERATION_FAILED event.
Parameters
placement:Placement — The actual placement on the timeline.
|
OpportunityHandledEvent — a valid OpportunityHandledEvent
|
| OPERATION_FAILED | Constant |
public static const OPERATION_FAILED:String = failedEvent dispatched when an error occurred while trying to place a resolved opportunity on the video timeline.
| OPERATION_SUCCESSFUL | Constant |
public static const OPERATION_SUCCESSFUL:String = successfulEvent dispatched when an opportunity was successfully resolved and placed on the video timeline.