Package | artcustomer.framework.loaders.assets.medias |
Class | public class AbstractLoadableAsset |
Inheritance | AbstractLoadableAsset flash.events.EventDispatcher |
Implements | IDestroyable |
Subclasses | AnimationAsset, ImageAsset, Object3DAsset, SoundAsset, TextAsset |
Property | Defined By | ||
---|---|---|---|
_bytes : * | AbstractLoadableAsset | ||
_bytesLoaded : Number | AbstractLoadableAsset | ||
_bytesTotal : Number | AbstractLoadableAsset | ||
_data : * | AbstractLoadableAsset | ||
_error : String | AbstractLoadableAsset | ||
_extension : String | AbstractLoadableAsset | ||
_file : String | AbstractLoadableAsset | ||
_group : String | AbstractLoadableAsset | ||
_isAlreadyLoaded : Boolean | AbstractLoadableAsset | ||
_isLoading : Boolean | AbstractLoadableAsset | ||
_isOpenStream : Boolean | AbstractLoadableAsset | ||
_name : String | AbstractLoadableAsset | ||
_progress : Number | AbstractLoadableAsset | ||
_source : String | AbstractLoadableAsset | ||
_status : int | AbstractLoadableAsset | ||
_type : String | AbstractLoadableAsset |
Method | Defined By | ||
---|---|---|---|
Constructor
| AbstractLoadableAsset | ||
close():void
Close loading. | AbstractLoadableAsset | ||
destroy():void
Destructor. | AbstractLoadableAsset | ||
load():void
Start loading. | AbstractLoadableAsset |
Method | Defined By | ||
---|---|---|---|
onComplete():void
On complete asset loading. | AbstractLoadableAsset | ||
onError():void
On error asset loading. | AbstractLoadableAsset | ||
onProgress():void
On progress asset loading. | AbstractLoadableAsset |
Event | Summary | Defined By | ||
---|---|---|---|---|
AbstractLoadableAsset | ||||
AbstractLoadableAsset | ||||
AbstractLoadableAsset |
_bytes | property |
protected var _bytes:*
_bytesLoaded | property |
protected var _bytesLoaded:Number
_bytesTotal | property |
protected var _bytesTotal:Number
_data | property |
protected var _data:*
_error | property |
protected var _error:String
_extension | property |
protected var _extension:String
_file | property |
protected var _file:String
_group | property |
protected var _group:String
_isAlreadyLoaded | property |
protected var _isAlreadyLoaded:Boolean
_isLoading | property |
protected var _isLoading:Boolean
_isOpenStream | property |
protected var _isOpenStream:Boolean
_name | property |
protected var _name:String
_progress | property |
protected var _progress:Number
_source | property |
protected var _source:String
_status | property |
protected var _status:int
_type | property |
protected var _type:String
AbstractLoadableAsset | () | Constructor |
public function AbstractLoadableAsset()
Constructor
close | () | method |
public function close():void
Close loading. Override it !
destroy | () | method |
public function destroy():void
Destructor.
load | () | method |
public function load():void
Start loading. Override it !
onComplete | () | method |
protected final function onComplete():void
On complete asset loading.
onError | () | method |
protected final function onError():void
On error asset loading.
onProgress | () | method |
protected final function onProgress():void
On progress asset loading.
assetLoadingComplete | Event |
assetLoadingError | Event |
assetLoadingProgress | Event |