Packagenet.guttershark.support.preloading.events
Classpublic final class AssetStatusEvent
InheritanceAssetStatusEvent Inheritance flash.events.Event

The AssetStatusEvent dispatches for an Asset that had an HTTP status other than 0 or 200.



Public Properties
 PropertyDefined by
  asset : Asset
The Asset that had the status error.
AssetStatusEvent
  status : int
The status code.
AssetStatusEvent
Public Methods
 MethodDefined by
  
AssetStatusEvent(type:String, asset:Asset, status:int)
Constructor for AssetStatusEvent instances.
AssetStatusEvent
  
clone():Event
Clone this AssetStatusEvent.
AssetStatusEvent
  
toString():String
To string override for descriptions.
AssetStatusEvent
Public Constants
 ConstantDefined by
  STATUS : String = "assetStatus"
[static] Defines the value of the type property of the assetStatus event type.
AssetStatusEvent
Property detail
assetproperty
public var asset:Asset

The Asset that had the status error.

statusproperty 
public var status:int

The status code.

Constructor detail
AssetStatusEvent()constructor
public function AssetStatusEvent(type:String, asset:Asset, status:int)

Constructor for AssetStatusEvent instances.

Parameters
type:String — The type.
 
asset:Asset — The Asset that triggered the status event.
 
status:int — The status code of the event.
Method detail
clone()method
public override function clone():Event

Clone this AssetStatusEvent.

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

To string override for descriptions.

Returns
String
Constant detail
STATUSconstant
public static const STATUS:String = "assetStatus"

Defines the value of the type property of the assetStatus event type.