Package | artcustomer.framework.loaders.assets.events |
Class | public class LoadableAssetEvent |
Inheritance | LoadableAssetEvent flash.events.Event |
Method | Defined By | ||
---|---|---|---|
LoadableAssetEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, asset:AbstractLoadableAsset = null, bytesLoaded:Number = 0, bytesTotal:Number = 0, progress:Number = 0, error:String = null)
Constructor
| LoadableAssetEvent | ||
clone():Event [override]
Clone LoadableAssetEvent. | LoadableAssetEvent | ||
toString():String [override]
Get String format of LoadableAssetEvent. | LoadableAssetEvent |
Constant | Defined By | ||
---|---|---|---|
ASSET_LOADING_COMPLETE : String = assetLoadingComplete [static] | LoadableAssetEvent | ||
ASSET_LOADING_ERROR : String = assetLoadingError [static] | LoadableAssetEvent | ||
ASSET_LOADING_PROGRESS : String = assetLoadingProgress [static] | LoadableAssetEvent |
LoadableAssetEvent | () | Constructor |
public function LoadableAssetEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, asset:AbstractLoadableAsset = null, bytesLoaded:Number = 0, bytesTotal:Number = 0, progress:Number = 0, error:String = null)
Constructor
Parameterstype:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
| |
asset:AbstractLoadableAsset (default = null )
| |
bytesLoaded:Number (default = 0 )
| |
bytesTotal:Number (default = 0 )
| |
progress:Number (default = 0 )
| |
error:String (default = null )
|
clone | () | method |
override public function clone():Event
Clone LoadableAssetEvent.
ReturnsEvent —
|
toString | () | method |
override public function toString():String
Get String format of LoadableAssetEvent.
ReturnsString —
|
ASSET_LOADING_COMPLETE | Constant |
public static const ASSET_LOADING_COMPLETE:String = assetLoadingComplete
ASSET_LOADING_ERROR | Constant |
public static const ASSET_LOADING_ERROR:String = assetLoadingError
ASSET_LOADING_PROGRESS | Constant |
public static const ASSET_LOADING_PROGRESS:String = assetLoadingProgress