W3cubDocs

/Haxe Flash

SharedObject

package flash.net

extends EventDispatcher

Available on flash

Static variables

staticdefaultObjectEncoding:UInt

staticpreventBackup:Bool

Static methods

staticdeleteAll(url:String):Int

staticgetDiskUsage(url:String):Int

staticgetLocal(name:String, ?localPath:String, secure:Bool = false):SharedObject

staticgetRemote(name:String, ?remotePath:String, persistence:Dynamic = false, secure:Bool = false):SharedObject

Constructor

new()

Variables

client:Dynamic

read onlydata:Dynamic

write onlyfps:Float

objectEncoding:UInt

read onlysize:UInt

Methods

clear():Void

close():Void

connect(myConnection:NetConnection, ?params:String):Void

flush(minDiskSpace:Int = 0):String

send(restArgs:Rest<Dynamic>):Void

setDirty(propertyName:String):Void

setProperty(propertyName:String, ?value:Object):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/net/SharedObject.html