Package | verlocity.components |
Class | public final class verSave |
Inheritance | verSave Component Singleton Object |
Method | Defined By | ||
---|---|---|---|
verSave()
Constructor of the component. | verSave | ||
_Destruct():void [override]
Destructor of the component. | verSave | ||
_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 | ||
Delete(sPackageName:String):void
Deletes the data based on its string name. | verSave | ||
Load(sPackageName:String):Object
Loads the data based on its string name. | verSave | ||
Save(data:Object, sPackageName:String):void
Saves a data object into a SharedObject. | verSave |
verSave | () | Constructor |
public function verSave()
Constructor of the component.
_Destruct | () | method |
override public function _Destruct():void
Destructor of the component.
Delete | () | method |
public final function Delete(sPackageName:String):void
Deletes the data based on its string name.
Parameters
sPackageName:String — The string name of the data
|
Load | () | method |
public final function Load(sPackageName:String):Object
Loads the data based on its string name.
Parameters
sPackageName:String — The string name of the data
|
Object —
|
Save | () | method |
public final function Save(data:Object, sPackageName:String):void
Saves a data object into a SharedObject. Note: Game name is appended to the data automatically.
Parameters
data:Object — The object with the data to save
| |
sPackageName:String — The string name of the data
|