Packagecom.adobe.mediacore.events
Classpublic class AdClickEvent
InheritanceAdClickEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  ad : Ad
[read-only] The associated ad.
AdClickEvent
  adBreak : AdBreak
[read-only] The associated ad break.
AdClickEvent
  adClick : AdClick
[read-only] Ad click through information associated with the asset clicked.
AdClickEvent
Public Methods
 MethodDefined By
  
AdClickEvent(type:String, bubbles:Boolean, cancelable:Boolean, adBreak:AdBreak, ad:Ad, adClick:AdClick)
Default constructor.
AdClickEvent
  
clone():Event
[override]
AdClickEvent
  
create(adBreak:AdBreak, ad:Ad, adClick:AdClick):AdClickEvent
[static] Factory method for creating AdClickEvent.
AdClickEvent
Public Constants
 ConstantDefined By
  AD_CLICK : String = adClick
[static] Dispatched when the ad is clicked during playback.
AdClickEvent
Property Detail
adproperty
ad:Ad  [read-only]

The associated ad.


Implementation
    public function get ad():Ad
adBreakproperty 
adBreak:AdBreak  [read-only]

The associated ad break.


Implementation
    public function get adBreak():AdBreak
adClickproperty 
adClick:AdClick  [read-only]

Ad click through information associated with the asset clicked.


Implementation
    public function get adClick():AdClick
Constructor Detail
AdClickEvent()Constructor
public function AdClickEvent(type:String, bubbles:Boolean, cancelable:Boolean, adBreak:AdBreak, ad:Ad, adClick:AdClick)

Default constructor. Throws an ArgumentError if the specified ad break or specified ad or specified click through information is null.

Parameters
type:String — The type of the event.
 
bubbles:Boolean — Determines whether the Event object participates in the bubbling stage of the event flow.
 
cancelable:Boolean — Determines whether the Event object can be canceled.
 
adBreak:AdBreak — The associated ad break.
 
ad:Ad — The associated ad.
 
adClick:AdClick — Click through information associated with the asset clicked.
Method Detail
clone()method
override public function clone():Event

Returns
Event
create()method 
public static function create(adBreak:AdBreak, ad:Ad, adClick:AdClick):AdClickEvent

Factory method for creating AdClickEvent. Throws an ArgumentError if any of the specified arguments are null.

Parameters

adBreak:AdBreak — The associated ad break.
 
ad:Ad — The associated ad.
 
adClick:AdClick — Click through information associated with the asset clicked.

Returns
AdClickEvent — a valid AdClickThroughEvent instance.
Constant Detail
AD_CLICKConstant
public static const AD_CLICK:String = adClick

Dispatched when the ad is clicked during playback.