MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 1086

Actionscript 2.0 language reference
Table of Contents

Advertisement

If this method returns
the amount of disk space available to objects from this domain. To allow space for the shared
object to grow when it is saved in the future, which avoids return values of
value for
minimumDiskSpace
bytes passed to
minimumDiskSpace
object at its current size.
For example, if you expect a shared object to grow to a maximum size of 500 bytes, even
though it might start out much smaller, pass 500 for
user to allot disk space for the shared object, it asks for 500 bytes. After the user allots the
requested amount of space, Flash won't have to ask for more space on future attempts to flush
the object (as long as its size doesn't exceed 500 bytes).
After the user responds to the dialog box, this method is called again and returns either
or
;
false
SharedObject.onStatus
SharedObject.Flush.Success
For more information, see "Local disk space considerations" in the SharedObject class
overview.
Availability: ActionScript 1.0; Flash Player 6
Parameters
minDiskSpace:Number
allotted for this object. The default value is 0.
Returns
- A Boolean value:
Object
following list:
If the user has permitted local information storage for objects from this domain, and the
amount of space allotted is sufficient to store the object, this method returns
have passed a value for
equal to that value for
If the user has permitted local information storage for objects from this domain, but the
amount of space allotted is not sufficient to store the object, this method returns
.
"pending"
If the user has permanently denied local information storage for objects from this domain,
or if Flash cannot save the object for any reason, this method returns
Note: Local content can always write shared objects from third-party domains (domains other
than the domain in the current browser address bar) to disk, even if writing of third-party
shared objects to disk is disallowed.
1086
ActionScript classes
, Flash Player shows a dialog box asking the user to increase
"pending"
. When Flash tries to write the file, it looks for the number of
, instead of looking for enough space to save the shared
is also invoked with a
or
SharedObject.Flush.Failed
[optional] - An integer specifying the number of bytes that must be
or
; or a string value of
true
false
minimumDiskSpace
to be returned).
true
minimumDiskSpace
property of
code
.
"pending"
, the amount of space allotted must be at least
, pass a
"pending"
. If Flash asks the
true
, as described in the
. (If you
true
.
false

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents