Package | verlocity.components |
Class | public final class verBitmap |
Inheritance | verBitmap Component Singleton Object |
Method | Defined By | ||
---|---|---|---|
Constructor of the component. | verBitmap | ||
_Destruct():void [override]
Destructor of the component. | verBitmap | ||
_IsNotUpdating():Boolean
Returns if the component is not updating (paused). | Component | ||
_IsValid():Boolean
Returns if this singleton is active/valid. | Singleton | ||
_SetUpdating(bUpdating:Boolean):void
Pauses/resumes the component updating, if it's pausable. | Component | ||
_UpdateComponent():void
Updates the component, if possible. | Component | ||
GetAsset(className:Class, bCreateIfNotFound:Boolean = true):BitmapClip
Returns a bitmap clip that's been preloaded. | verBitmap | ||
PreloadAsset(className:Class, bAnimated:Boolean = false, iRotationAmount:int = 0):void
Preloads an asset for bitmap usage. | verBitmap | ||
RemoveAllAssets():void
Removes all assets stored in memory. | verBitmap | ||
RemoveAsset(className:Object):void
Removes an asset from the memory. | verBitmap |
Method | Defined By | ||
---|---|---|---|
_Concommands():void [override]
Concommands of the component. | verBitmap | ||
_Update():void
Called each engine tick (verEngine), if the component updates
| Component |
verBitmap | () | Constructor |
public function verBitmap()
Constructor of the component.
_Concommands | () | method |
override protected function _Concommands():void
Concommands of the component.
_Destruct | () | method |
override public function _Destruct():void
Destructor of the component.
GetAsset | () | method |
public final function GetAsset(className:Class, bCreateIfNotFound:Boolean = true):BitmapClip
Returns a bitmap clip that's been preloaded.
Parameters
className:Class — The display object class name
| |
bCreateIfNotFound:Boolean (default = true ) — Should we try to preload it if it hasn't been?
|
BitmapClip —
|
PreloadAsset | () | method |
public final function PreloadAsset(className:Class, bAnimated:Boolean = false, iRotationAmount:int = 0):void
Preloads an asset for bitmap usage.
Parameters
className:Class — The display object's class (must be MovieClip or Sprite)
| |
bAnimated:Boolean (default = false )
| |
iRotationAmount:int (default = 0 )
|
RemoveAllAssets | () | method |
public final function RemoveAllAssets():void
Removes all assets stored in memory.
RemoveAsset | () | method |
public final function RemoveAsset(className:Object):void
Removes an asset from the memory.
Parameters
className:Object — The display asset
|