Packagegs.events
Classpublic final class AssetCompleteEvent
InheritanceAssetCompleteEvent Inheritance flash.events.Event

The AssetCompleteEvent dispatches when an asset has completed downloading.

See also

gs.preloading.Preloader
gs.managers.AssetManager


Public Properties
 PropertyDefined by
  asset : Asset
The asset that has completely downloaded.
AssetCompleteEvent
Public Methods
 MethodDefined by
  
AssetCompleteEvent(type:String, asset:Asset)
Constructor for AssetCompleteEvent instances.
AssetCompleteEvent
  
clone():Event
Clone this AssetCompleteEvent.
AssetCompleteEvent
  
toString():String
To string override for descriptions.
AssetCompleteEvent
Public Constants
 ConstantDefined by
  COMPLETE : String = "assetComplete"
[static] Defines the value of the type property of the assetComplete event type.
AssetCompleteEvent
Property detail
assetproperty
public var asset:Asset

The asset that has completely downloaded.

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

Constructor for AssetCompleteEvent instances.

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

Clone this AssetCompleteEvent.

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

To string override for descriptions.

Returns
String
Constant detail
COMPLETEconstant
public static const COMPLETE:String = "assetComplete"

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