Package | sekati.net |
Class | public class LocalSharedObject |
SharedObject
to the API.
Property | Defined by | ||
---|---|---|---|
data : Object [read-only]
Return all data contained in the shared object.
| LocalSharedObject | ||
name : String [read-only]
Return the name of the shared object.
| LocalSharedObject | ||
size : uint [read-only]
The current size of the shared object, in bytes.
| LocalSharedObject |
Method | Defined by | ||
---|---|---|---|
LocalSharedObject(name:String)
LocalSharedObject Constructor
| LocalSharedObject | ||
clear():void
Purge all data from the shared objects contents and remove it from disk.
| LocalSharedObject | ||
destroy():void
Destroy sharedObject data and instance
| LocalSharedObject | ||
read(property:String):*
Read the value from a
LocalSharedObject property. | LocalSharedObject | ||
showSettings():void
Display the FlashPlayer local storage settings panel to the user.
| LocalSharedObject | ||
write(property:String, value:*):Boolean
Write a property value pair to the
LocalSharedObject . | LocalSharedObject |
data | property |
data:Object
[read-only]Return all data contained in the shared object.
Implementation public function get data():Object
name | property |
name:String
[read-only]Return the name of the shared object.
Implementation public function get name():String
size | property |
size:uint
[read-only]The current size of the shared object, in bytes.
Implementation public function get size():uint
LocalSharedObject | () | constructor |
public function LocalSharedObject(name:String)
LocalSharedObject Constructor
Parametersname:String — of the local shared object
|
clear | () | method |
public function clear():void
Purge all data from the shared objects contents and remove it from disk.
destroy | () | method |
public function destroy():void
Destroy sharedObject data and instance
read | () | method |
public function read(property:String):*
Read the value from a LocalSharedObject
property.
property:String |
* |
showSettings | () | method |
public function showSettings():void
Display the FlashPlayer local storage settings panel to the user.
write | () | method |
public function write(property:String, value:*):Boolean
Write a property value pair to the LocalSharedObject
.
property:String |
|
value:* |
Boolean — true if the write was successful, false
if there was not enough disk space for the write - in which case the user
is prompted to allow more.
|