MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 618

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

The following list summarizes how the user's disk space choices interact with shared objects:
If the user selects Never, objects are never saved locally, and all
commands issued for the object return
If the user selects Unlimited (moves the slider all the way to the right), objects are saved locally
up to available disk space.
If the user selects None (moves the slider all the way to the left), all
commands issued for the object return
additional disk space can be allotted to make room for the object, as explained above.
If the user selects 10 KB, 100 KB, 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, as explained above.
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.
Note: There is no size limit in Flash Player that runs from the authoring environment.
Method summary for the SharedObject class
Method
SharedObject.clear()
SharedObject.flush()
SharedObject.getLocal()
SharedObject.getSize()
Property summary for the SharedObject class
Property (read-only)
SharedObject.data
Event handler summary for the SharedObject class
Event handler
SharedObject.onStatus
618
Chapter 12: ActionScript Dictionary
false
"pending"
returns
if the object fits within the specified amount of space. If
true
SharedObject.flush()
Description
Purges all of 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 cause the player to ask the user if
returns
, and the player asks the
"pending"
SharedObject.flush()
property of the
data

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents