Packagecom.bourre.media.video
Classpublic class VideoDisplayEvent
InheritanceVideoDisplayEvent Inheritance LoaderEvent Inheritance BasicEvent Inheritance flash.events.Event
SubclassesCuePointEvent

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The VideoDisplayEvent class represents the event object passed to the event listener for VideoDisplay events.

See also

VideoDisplay


Public Properties
 PropertyDefined by
  onBufferEmptyEVENT : String = ""
[static]
VideoDisplayEvent
  onBufferFullEVENT : String = ""
[static]
VideoDisplayEvent
  onCuePointEVENT : String = ""
[static]
VideoDisplayEvent
  onEndVideoEVENT : String = ""
[static] WORK ONLY WITH METADATA send when video has finish
VideoDisplayEvent
  onErrorEVENT : String = ""
[static]
VideoDisplayEvent
  onMetaDataEVENT : String = ""
[static]
VideoDisplayEvent
  onPlayHeadTimeChangeEVENT : String = ""
[static]
VideoDisplayEvent
  onResizeEVENT : String = ""
[static]
VideoDisplayEvent
  onStartStreamEVENT : String = ""
[static]
VideoDisplayEvent
  onStopStreamEVENT : String = ""
[static] Send when video is stop manually or finish itself
VideoDisplayEvent
 Inheritedtarget : Object
The source object of this event
BasicEvent
 Inheritedtype : String
The type of this event
BasicEvent
Protected Properties
 PropertyDefined by
 Inherited_oTarget : Object
The source object of this event, redefined to provide write access
BasicEvent
 Inherited_sType : String
The type of the event, redefined to provide write access
BasicEvent
Public Methods
 MethodDefined by
  
VideoDisplayEvent(type:String, videoDisplay:VideoDisplay, errorMessage:String = "")
Creates new VideodisplayEvent instance.
VideoDisplayEvent
 Inherited
clone():Event
Clone the event
BasicEvent
  
getDuration():Number
Returns duration of video carried by this event.
VideoDisplayEvent
 Inherited
getErrorMessage():String
Returns the error message carried by this event.
LoaderEvent
 Inherited
Returns the loader object carried by this event.
LoaderEvent
  
Returns video metada carried by this event.
VideoDisplayEvent
 Inherited
getName():String
Returns the loader named carried by this event.
LoaderEvent
 Inherited
getPerCent():Number
Returns the loading progression value of object carried by this event.
LoaderEvent
  
getPlayheadTime():Number
Returns playhead position of video carried by this event.
VideoDisplayEvent
 Inherited
getTarget():Object
Returns the current source of this event object.
BasicEvent
 Inherited
getType():String
Returns the type of this event, which generally correspond to the name of the called function on the listener.
BasicEvent
  
Returns the VideoDisplay object carried by this event.
VideoDisplayEvent
 Inherited
setErrorMessage(errorMessage:String = ""):void
Sets the error message to be carried by this event.
LoaderEvent
 Inherited
setTarget(oTarget:Object):void
Defines the new source object of this event.
BasicEvent
 Inherited
setType(en:String):void
Defines the new event type for this event object.
BasicEvent
 Inherited
toString():String
Returns the string representation of this instance.
BasicEvent
Public Constants
 ConstantDefined by
 InheritedonLoadErrorEVENT : String = "onLoadError"
[static] Defines the value of the type property of the event object for a onLoadError event.
LoaderEvent
 InheritedonLoadInitEVENT : String = "onLoadInit"
[static] Defines the value of the type property of the event object for a onLoadInit event.
LoaderEvent
 InheritedonLoadProgressEVENT : String = "onLoadProgress"
[static] Defines the value of the type property of the event object for a onLoadProgress event.
LoaderEvent
 InheritedonLoadStartEVENT : String = "onLoadStart"
[static] Defines the value of the type property of the event object for a onLoadStart event.
LoaderEvent
 InheritedonLoadTimeOutEVENT : String = "onLoadTimeOut"
[static] Defines the value of the type property of the event object for a onLoadTimeOut event.
LoaderEvent
Property detail
onBufferEmptyEVENTproperty
public static var onBufferEmptyEVENT:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onBufferFullEVENTproperty 
public static var onBufferFullEVENT:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onCuePointEVENTproperty 
public static var onCuePointEVENT:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onEndVideoEVENTproperty 
public static var onEndVideoEVENT:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

WORK ONLY WITH METADATA send when video has finish

onErrorEVENTproperty 
public static var onErrorEVENT:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onMetaDataEVENTproperty 
public static var onMetaDataEVENT:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onPlayHeadTimeChangeEVENTproperty 
public static var onPlayHeadTimeChangeEVENT:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onResizeEVENTproperty 
public static var onResizeEVENT:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onStartStreamEVENTproperty 
public static var onStartStreamEVENT:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

onStopStreamEVENTproperty 
public static var onStopStreamEVENT:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Send when video is stop manually or finish itself

Constructor detail
VideoDisplayEvent()constructor
public function VideoDisplayEvent(type:String, videoDisplay:VideoDisplay, errorMessage:String = "")

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates new VideodisplayEvent instance.

Parameters
type:String — Name of the event type
 
videoDisplay:VideoDisplay — VideoDisplay object carried by this event
 
errorMessage:String (default = "") — (optional) Error message carried by this event
Method detail
getDuration()method
public function getDuration():Number

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns duration of video carried by this event.

Returns
Number
getMetaData()method 
public function getMetaData():MetaData

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns video metada carried by this event.

Returns
MetaData
getPlayheadTime()method 
public function getPlayheadTime():Number

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns playhead position of video carried by this event.

Returns
Number
getVideoDisplay()method 
public function getVideoDisplay():VideoDisplay

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the VideoDisplay object carried by this event.

Returns
VideoDisplay — The VideoDisplay value carried by this event.