Packagecom.adobe.mediacore.events
Classpublic class ContentErrorEvent
InheritanceContentErrorEvent Inheritance flash.events.Event

Event dispatched when an error occurs during resolving, loading or placement process.



Public Properties
 PropertyDefined By
  error : MediaError
[read-only]
ContentErrorEvent
  opportunity : Opportunity
[read-only]
ContentErrorEvent
Public Methods
 MethodDefined By
  
ContentErrorEvent(type:String, bubbles:Boolean, cancelable:Boolean, opportunity:Opportunity, error:MediaError)
ContentErrorEvent
  
clone():Event
[override]
ContentErrorEvent
  
create(type:String, opportunity:Opportunity, mediaError:MediaError):ContentErrorEvent
[static]
ContentErrorEvent
Public Constants
 ConstantDefined By
  PLACEMENT_FAILED : String = placementFailed
[static]
ContentErrorEvent
  RESOLVING_FAILED : String = resolvingFailed
[static] Event dispatched when the content resolving has failed due some unexpected errors.
ContentErrorEvent
Property Detail
errorproperty
error:MediaError  [read-only]


Implementation
    public function get error():MediaError
opportunityproperty 
opportunity:Opportunity  [read-only]


Implementation
    public function get opportunity():Opportunity
Constructor Detail
ContentErrorEvent()Constructor
public function ContentErrorEvent(type:String, bubbles:Boolean, cancelable:Boolean, opportunity:Opportunity, error:MediaError)



Parameters
type:String
 
bubbles:Boolean
 
cancelable:Boolean
 
opportunity:Opportunity
 
error:MediaError
Method Detail
clone()method
override public function clone():Event

Returns
Event
create()method 
public static function create(type:String, opportunity:Opportunity, mediaError:MediaError):ContentErrorEvent

Parameters

type:String
 
opportunity:Opportunity
 
mediaError:MediaError

Returns
ContentErrorEvent
Constant Detail
PLACEMENT_FAILEDConstant
public static const PLACEMENT_FAILED:String = placementFailed

RESOLVING_FAILEDConstant 
public static const RESOLVING_FAILED:String = resolvingFailed

Event dispatched when the content resolving has failed due some unexpected errors.