Packagecom.tapjoy.extensions
Classpublic class TJPlacementVideoEvent
InheritanceTJPlacementVideoEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  errorMessage : String
[read-only] The error message returned by the event
TJPlacementVideoEvent
  placement : TJPlacement
[read-only] The placment this event fired from
TJPlacementVideoEvent
Public Methods
 MethodDefined By
  
TJPlacementVideoEvent(type:String, placement:TJPlacement, errorMessage:String = No error, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a TJPlacementVideoEvent object to pass as a parameter to event listeners.
TJPlacementVideoEvent
Public Constants
 ConstantDefined By
  COMPLETE : String = PLACEMENT_VIDEO_COMPLETE
[static]
TJPlacementVideoEvent
  ERROR : String = PLACEMENT_VIDEO_ERROR
[static]
TJPlacementVideoEvent
  START : String = PLACEMENT_VIDEO_START
[static]
TJPlacementVideoEvent
Property Detail
errorMessageproperty
errorMessage:String  [read-only]

The error message returned by the event


Implementation
    public function get errorMessage():String
placementproperty 
placement:TJPlacement  [read-only]

The placment this event fired from


Implementation
    public function get placement():TJPlacement
Constructor Detail
TJPlacementVideoEvent()Constructor
public function TJPlacementVideoEvent(type:String, placement:TJPlacement, errorMessage:String = No error, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a TJPlacementVideoEvent object to pass as a parameter to event listeners.

Parameters
type:String — The type of the event, accessible as TJPlacementVideoEvent.type.
 
placement:TJPlacement — The String information to return with the event.
 
errorMessage:String (default = No error) — Determines whether the Event object participates in the bubbling stage of the event flow. The default value is false.
 
bubbles:Boolean (default = false) — Determines whether the Event object can be canceled. The default value is false.
 
cancelable:Boolean (default = false)
Constant Detail
COMPLETEConstant
public static const COMPLETE:String = PLACEMENT_VIDEO_COMPLETE

ERRORConstant 
public static const ERROR:String = PLACEMENT_VIDEO_ERROR

STARTConstant 
public static const START:String = PLACEMENT_VIDEO_START