
SharedObject.clear()
399
•
If the user selects None (moves the slider all the way to the left), all
SharedObject.flush()
commands issued for the object return
"pending",
and the player asks the user if additional
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()
returns
true
if the object fits within the specified amount of space. If
more space is needed,
SharedObject.flush()
returns
"pending"
, and the player asks the
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
Property summary for the SharedObject class
Event handler summary for the SharedObject class
Constructor for the SharedObject class
For information on creating local shared objects, see
SharedObject.getLocal()
.
SharedObject.clear()
Availability
Flash Player 7.
Usage
my_so
.clear()
: Void
Method
Description
SharedObject.clear()
Purges all the data from the shared object and deletes the shared
object from the disk.
SharedObject.flush()
Immediately writes a locally persistent shared object to a local file.
SharedObject.getLocal()
Returns a reference to a locally persistent shared object that is
available only to the current client.
SharedObject.getSize()
Gets the current size of the shared object, in bytes.
Property
Description
SharedObject.data
The collection of attributes assigned to the
data
property of the
object; these attributes can be shared and/or stored.
Event handler
Description
SharedObject.onStatus
Invoked every time an error, warning, or informational note is
posted for a shared object.
Содержание FLEX-FLEX ACTIONSCRIPT LANGUAGE
Страница 1: ...Flex ActionScript Language Reference...
Страница 8: ......
Страница 66: ...66 Chapter 2 Creating Custom Classes with ActionScript 2 0...
Страница 76: ......
Страница 133: ...break 133 See also for for in do while while switch case continue throw try catch finally...
Страница 135: ...case 135 See also break default strict equality switch...
Страница 146: ...146 Chapter 5 ActionScript Core Language Elements See also break continue while...
Страница 229: ...while 229 i 3 The following result is written to the log file 0 3 6 9 12 15 18 See also do while continue for for in...
Страница 808: ...808 Chapter 7 ActionScript for Flash...
Страница 810: ...810 Appendix A Deprecated Flash 4 operators...
Страница 815: ...Other keys 815 Num Lock 144 186 187 _ 189 191 192 219 220 221 222 Key Key code...
Страница 816: ...816 Appendix B Keyboard Keys and Key Code Values...
Страница 822: ...822 Index...