MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 399

Actionscript language reference
Table of Contents

Advertisement

If the user selects None (moves the slider all the way to the left), all
commands issued for the object return
disk space can be allotted to make room for the object.
If the user selects 10K, 100K, 1 MB, or 10 MB, objects are saved locally and
SharedObject.flush()
more space is needed,
user if additional disk space can be allotted to make room for the object.
Additionally, if the user selects a value that is less than the amount of disk space currently being
used for locally persistent data, the player warns the user that any locally saved shared objects will
be deleted.
Method summary for the SharedObject class
Method
SharedObject.clear()
SharedObject.flush()
SharedObject.getLocal()
SharedObject.getSize()
Property summary for the SharedObject class
Property
SharedObject.data
Event handler summary for the SharedObject class
Event handler
SharedObject.onStatus
Constructor for the SharedObject class
For information on creating local shared objects, see
SharedObject.clear()
Availability
Flash Player 7.
Usage
my_so.clear() : Void
"pending",
returns
if the object fits within the specified amount of space. If
true
SharedObject.flush()
Description
Purges all the data from the shared object and deletes the shared
object from the disk.
Immediately writes a locally persistent shared object to a local file.
Returns a reference to a locally persistent shared object that is
available only to the current client.
Gets the current size of the shared object, in bytes.
Description
The collection of attributes assigned to the
object; these attributes can be shared and/or stored.
Description
Invoked every time an error, warning, or informational note is
posted for a shared object.
SharedObject.flush()
and the player asks the user if additional
returns
, and the player asks the
"pending"
SharedObject.getLocal()
SharedObject.clear()
property of the
data
.
399

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex

Table of Contents