Packagecom.tapjoy.extensions
Classpublic class TJVideoEvent
InheritanceTJVideoEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  errorMessage : String
[read-only] The String data returned by the event
TJVideoEvent
Public Methods
 MethodDefined By
  
TJVideoEvent(type:String, errorMessage:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a TJVideoEvent object to pass as a parameter to event listeners.
TJVideoEvent
Public Constants
 ConstantDefined By
  COMPLETE : String = VIDEO_COMPLETE
[static]
TJVideoEvent
  ERROR : String = VIDEO_ERROR
[static]
TJVideoEvent
  START : String = VIDEO_START
[static]
TJVideoEvent
Property Detail
errorMessageproperty
errorMessage:String  [read-only]

The String data returned by the event


Implementation
    public function get errorMessage():String
Constructor Detail
TJVideoEvent()Constructor
public function TJVideoEvent(type:String, errorMessage:String, bubbles:Boolean = false, cancelable:Boolean = false)

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

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

ERRORConstant 
public static const ERROR:String = VIDEO_ERROR

STARTConstant 
public static const START:String = VIDEO_START