User Guide
586 ActionScript classes
Method summary
Methods inherited from class Object
addListener (SharedObject.addListener method)
public static addListener(objectName:String, notifyFunction:Function) :
Void
Creates an event listener that the Flash Lite player invokes when the player has loaded the
shared object data from the device. Methods that access the SharedObject instance that the
call returns to the
getLocal() method should wait until this function is invoked before
attempting any operations.
Modifiers Signature Description
static addListener(objectName:String,
notifyFunction:Function) : Void
Creates an event listener that the
Flash Lite player invokes when the
player has loaded the shared object
data from the device.
clear() : Void Purges all the data from the shared
object and deletes the shared object
from the disk.
flush(minDiskSpace:Number) :
Object
Writes shared object to a local,
persistent file.
static getLocal(name:String) :
SharedObject
Returns a reference to a locally
persistent shared object that is
available only to the current client.
static getMaxSize() : Number Returns the total number of bytes
the SWF file can use to store mobile
shared objects on the device.
getSize() : Number Gets the current size of the shared
object, in bytes.
static removeListener(objectName:String) Removes any listeners that were
added using the addListener()
method.
addProperty (Object.addProperty method), hasOwnProperty
(Object.hasOwnProperty method), isPropertyEnumerable
(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf
method), registerClass (Object.registerClass method), toString
(Object.toString method), unwatch (Object.unwatch method), valueOf
(Object.valueOf method), watch (Object.watch method)