Addlistener (Sharedobject.addlistener Method) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Method summary
Modifiers
Signature
static
addListener(objectName:String,
notifyFunction:Function) :
clear() :
flush(minDiskSpace:Number) :
Object
static
getLocal(name:String) :
SharedObject
static
getMaxSize() :
getSize() :
static
removeListener(objectName:String)
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),

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()
attempting any operations.
586
ActionScript classes
Void
Number
Number
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
method should wait until this function is invoked before
Description
Creates an event listener that the
Flash Lite player invokes when the
Void
player has loaded the shared object
data from the device.
Purges all the data from the shared
object and deletes the shared object
from the disk.
Writes shared object to a local,
persistent file.
Returns a reference to a locally
persistent shared object that is
available only to the current client.
Returns the total number of bytes
the SWF file can use to store mobile
shared objects on the device.
Gets the current size of the shared
object, in bytes.
Removes any listeners that were
added using the addListener()
method.
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
toString
method),
valueOf

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

Table of Contents