Packagecom.distriqt.extension.adverts.events
Classpublic class NativeAdEvent
InheritanceNativeAdEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  errorCode : int = -1
The error code is usually ERROR_CODE_INTERNAL_ERROR, ERROR_CODE_INVALID_REQUEST, ERROR_CODE_NETWORK_ERROR, or ERROR_CODE_NO_FILL.
NativeAdEvent
  errorMessage : String
NativeAdEvent
Public Methods
 MethodDefined By
  
NativeAdEvent(type:String, errorCode:int = -1, errorMessage:String, bubbles:Boolean = false, cancelable:Boolean = false)
NativeAdEvent
  
clone():Event
[override]
NativeAdEvent
Public Constants
 ConstantDefined By
  CLICKED : String = nativead:clicked
[static]
NativeAdEvent
  CLOSED : String = nativead:closed
[static]
NativeAdEvent
  ERROR : String = nativead:error
[static]
NativeAdEvent
  LOADED : String = nativead:loaded
[static]
NativeAdEvent
  OPENED : String = nativead:opened
[static]
NativeAdEvent
Property Detail
errorCodeproperty
public var errorCode:int = -1

The error code is usually ERROR_CODE_INTERNAL_ERROR, ERROR_CODE_INVALID_REQUEST, ERROR_CODE_NETWORK_ERROR, or ERROR_CODE_NO_FILL.

See also

errorMessageproperty 
public var errorMessage:String

Constructor Detail
NativeAdEvent()Constructor
public function NativeAdEvent(type:String, errorCode:int = -1, errorMessage:String, bubbles:Boolean = false, cancelable:Boolean = false)



Parameters
type:String
 
errorCode:int (default = -1)
 
errorMessage:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
CLICKEDConstant
public static const CLICKED:String = nativead:clicked

CLOSEDConstant 
public static const CLOSED:String = nativead:closed

ERRORConstant 
public static const ERROR:String = nativead:error

LOADEDConstant 
public static const LOADED:String = nativead:loaded

OPENEDConstant 
public static const OPENED:String = nativead:opened