Class com.sekati.data.SO

Description

SharedObject wrapper class.

Method Index

new SO()
clear(), destroy(), getData(), getSize(), read(), showSettings(), so_onStatus(), so_onSync(), write()

Inherited from CoreObject

Constructor Detail

SO

public function SO(so_name:String)

SO Constructor

Parameters

so_name(String) shared object name

Return

Void

Throws

Errorif no so_name was passed.

Method Detail

so_onStatus

public function so_onStatus(info:Object):Void

onStatus event handler dispatches event

Parameters

info(Object)

Return

Void

so_onSync

public function so_onSync(obj:Object):Void

onSync event handler dispatches event

write

public function write(prop:String, val:Object):Void

write a property value to the shared object

Parameters

prop(String) property name
val(Object) value to wrote to property

Return

Void

read

public function read(prop:String):Object

read a property value from the shared object

Parameters

prop(String) property to read

Return

Object - property value

clear

public function clear():Void

destroy the shared object

Return

Void

getSize

public function getSize():Number

get the size of the shared object in bytes.

Return

Number

getData

public function getData():String

return recursively formatted data of shared object

Return

String

showSettings

public function showSettings():Void

Show FlashPlayer storage System settings.

Return

Void

destroy

public function destroy():Void

Destroy sharedObject data and instance

Return

Void

Specified By

destroy() in com.sekati.core.CoreInterface

Overrides

destroy() in com.sekati.core.CoreObject