Packagegs.events
Classpublic final class AssetErrorEvent
InheritanceAssetErrorEvent Inheritance flash.events.Event

The AssetErrorEvent dispatches when an asset has stopped loading due to an error.

See also

gs.preloading.Preloader
gs.managers.AssetManager


Public Properties
 PropertyDefined by
  asset : Asset
The Asset that errored out.
AssetErrorEvent
Public Methods
 MethodDefined by
  
AssetErrorEvent(type:String, asset:Asset)
Constructor for AssetErrorEvent instances.
AssetErrorEvent
  
clone():Event
Clone this AssetErrorEvent.
AssetErrorEvent
  
toString():String
To string override for descriptions.
AssetErrorEvent
Public Constants
 ConstantDefined by
  ERROR : String = "assetError"
[static] Defines the value of the type propert yof the assetError event type.
AssetErrorEvent
Property detail
assetproperty
public var asset:Asset

The Asset that errored out.

Constructor detail
AssetErrorEvent()constructor
public function AssetErrorEvent(type:String, asset:Asset)

Constructor for AssetErrorEvent instances.

Parameters
type:String — The event type.
 
asset:Asset — The Asset that errored out.
Method detail
clone()method
public override function clone():Event

Clone this AssetErrorEvent.

Returns
Event
toString()method 
public override function toString():String

To string override for descriptions.

Returns
String
Constant detail
ERRORconstant
public static const ERROR:String = "assetError"

Defines the value of the type propert yof the assetError event type.