Packageverlocity.components
Classpublic final class verBitmap
InheritanceverBitmap Inheritance Component Inheritance Singleton Inheritance Object

Handles registration of bitmap assets. Imports movieclips, sprites, and sprite sheets.



Public Properties
 PropertyDefined By
 InheritedclassName : Object
[read-only] Returns the class name of the component for dictionary registration.
Component
Protected Properties
 PropertyDefined By
 Inheritedstage : Stage
Component
Public Methods
 MethodDefined By
  
Constructor of the component.
verBitmap
  
_Destruct():void
[override] Destructor of the component.
verBitmap
 Inherited
_IsNotUpdating():Boolean
Returns if the component is not updating (paused).
Component
 Inherited
_IsValid():Boolean
Returns if this singleton is active/valid.
Singleton
 Inherited
_SetUpdating(bUpdating:Boolean):void
Pauses/resumes the component updating, if it's pausable.
Component
 Inherited
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
  
Removes all assets stored in memory.
verBitmap
  
RemoveAsset(className:Object):void
Removes an asset from the memory.
verBitmap
Protected Methods
 MethodDefined By
  
[override] Concommands of the component.
verBitmap
 Inherited
_Update():void
Called each engine tick (verEngine), if the component updates
Component
Constructor Detail
verBitmap()Constructor
public function verBitmap()

Constructor of the component.

Method Detail
_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?

Returns
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