Packagecom.adobe.mediacore.events
Classpublic final class VideoEngineErrorEvent
InheritanceVideoEngineErrorEvent Inheritance flash.events.Event

Event dispatched internally by video engine and its associated objects when an error has occurred.



Public Properties
 PropertyDefined By
  error : MediaError
[read-only] Returns the error associated with this event.
VideoEngineErrorEvent
Public Methods
 MethodDefined By
  
VideoEngineErrorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, error:MediaError = null)
Default constructor.
VideoEngineErrorEvent
  
clone():Event
[override]
VideoEngineErrorEvent
  
[static] Factory method for this event.
VideoEngineErrorEvent
Public Constants
 ConstantDefined By
  ERROR : String = videoEngineError
[static] Dispatched when an irrecoverable error occurred and the playback no longer continues.
VideoEngineErrorEvent
Property Detail
errorproperty
error:MediaError  [read-only]

Returns the error associated with this event.


Implementation
    public function get error():MediaError
Constructor Detail
VideoEngineErrorEvent()Constructor
public function VideoEngineErrorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, error:MediaError = null)

Default constructor.

Parameters
type:String — Event type.
 
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
 
error:MediaError (default = null) — The error which occurred ( valid only for error/warning related events).
Method Detail
clone()method
override public function clone():Event

Returns
Event
create()method 
public static function create(error:MediaError):VideoEngineErrorEvent

Factory method for this event.

Parameters

error:MediaError — the error associated with this event

Returns
VideoEngineErrorEvent — a valid VideoEngineErrorEvent instance
Constant Detail
ERRORConstant
public static const ERROR:String = videoEngineError

Dispatched when an irrecoverable error occurred and the playback no longer continues.