Packagecom.brightcove.api.events
Classpublic class ErrorEvent
InheritanceErrorEvent Inheritance flash.events.Event

Events to be broadcast when content is loaded into the player.



Public Properties
 PropertyDefined By
  code : uint
The ErrorType enum value for the error.
ErrorEvent
  errorType : String
The string name for the error.
ErrorEvent
  info : String
Any additional info available for the event.
ErrorEvent
Public Methods
 MethodDefined By
  
ErrorEvent(type:String, errorType:String, code:uint, info:String = null)
Constructor.
ErrorEvent
  
clone():Event
[override] Returns a copy of the event instance.
ErrorEvent
Public Constants
 ConstantDefined By
  TEMPLATE_ERROR : String = templateError
[static] The ErrorEvent.TEMPLATE_ERROR constant defines the value of the type property of the event object for a templateLoaded event.
ErrorEvent
Property Detail
codeproperty
public var code:uint

The ErrorType enum value for the error.

errorTypeproperty 
public var errorType:String

The string name for the error.

infoproperty 
public var info:String

Any additional info available for the event.

Constructor Detail
ErrorEvent()Constructor
public function ErrorEvent(type:String, errorType:String, code:uint, info:String = null)

Constructor.

Parameters
type:String — event name.
 
errorType:String
 
code:uint
 
info:String (default = null)
Method Detail
clone()method
override public function clone():Event

Returns a copy of the event instance.

Returns
Event — A copy of the event.
Constant Detail
TEMPLATE_ERRORConstant
public static const TEMPLATE_ERROR:String = templateError

The ErrorEvent.TEMPLATE_ERROR constant defines the value of the type property of the event object for a templateLoaded event.