Packagecom.distriqt.extension.webp.events
Classpublic class WebPErrorEvent
InheritanceWebPErrorEvent Inheritance flash.events.Event

WebP Error event used by the WebPLoader to communicate error events.



Public Properties
 PropertyDefined By
  code : int = 0
The error status code
WebPErrorEvent
  error : String
Description of the error
WebPErrorEvent
Public Methods
 MethodDefined By
  
WebPErrorEvent(type:String, error:String, code:int, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
WebPErrorEvent
  
clone():Event
[override]
WebPErrorEvent
Public Constants
 ConstantDefined By
  ERROR : String = error
[static] Dispatched when an error occurred while loading a WebP file
WebPErrorEvent
Property Detail
codeproperty
public var code:int = 0

The error status code

errorproperty 
public var error:String

Description of the error

Constructor Detail
WebPErrorEvent()Constructor
public function WebPErrorEvent(type:String, error:String, code:int, bubbles:Boolean = false, cancelable:Boolean = false)

Constructor

Parameters
type:String
 
error:String
 
code:int
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
ERRORConstant
public static const ERROR:String = error

Dispatched when an error occurred while loading a WebP file