Packagecom.brightcove.api.events
Classpublic class CaptionsEvent
InheritanceCaptionsEvent Inheritance flash.events.Event

Events to be broadcast when loading captions into the player.



Public Properties
 PropertyDefined By
  error : Error
[read-only] Returns the error for events of type DFXP_LOAD_ERROR
CaptionsEvent
  url : String
[read-only] Returns the DFXP URL that was loaded or had an error
CaptionsEvent
Public Methods
 MethodDefined By
  
CaptionsEvent(type:String, url:String, error:Error = null)
Constructor.
CaptionsEvent
Public Constants
 ConstantDefined By
  DFXP_LOAD_ERROR : String = dfxpLoadError
[static]
CaptionsEvent
  DFXP_LOAD_SUCCESS : String = dfxpLoadSuccess
[static]
CaptionsEvent
  SHOW_OPTIONS : String = showOptions
[static]
CaptionsEvent
Property Detail
errorproperty
error:Error  [read-only]

Returns the error for events of type DFXP_LOAD_ERROR


Implementation
    public function get error():Error
urlproperty 
url:String  [read-only]

Returns the DFXP URL that was loaded or had an error


Implementation
    public function get url():String
Constructor Detail
CaptionsEvent()Constructor
public function CaptionsEvent(type:String, url:String, error:Error = null)

Constructor.

Parameters
type:String
 
url:String
 
error:Error (default = null)
Constant Detail
DFXP_LOAD_ERRORConstant
public static const DFXP_LOAD_ERROR:String = dfxpLoadError

DFXP_LOAD_SUCCESSConstant 
public static const DFXP_LOAD_SUCCESS:String = dfxpLoadSuccess

SHOW_OPTIONSConstant 
public static const SHOW_OPTIONS:String = showOptions