W3cubDocs

/Haxe Flash

SharedObject

package flash.net

extends EventDispatcher

Available on flash

Constructor

new ()

Variables

client:Dynamic

read only data:Dynamic

write only fps:Float

objectEncoding:UInt

read only size:UInt

Methods

clear ():Void

close ():Void

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

@:value({ minDiskSpace : 0 }) flush (minDiskSpace:Int = 0):String

send (?p1:Dynamic, ?p2:Dynamic, ?p3:Dynamic, ?p4:Dynamic, ?p5:Dynamic):Void

setDirty (propertyName:String):Void

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

Static variables

static defaultObjectEncoding:UInt

@:require(flash11_7) static preventBackup:Bool

Static methods

static deleteAll (url:String):Int

static getDiskUsage (url:String):Int

@:value({ secure : false }) static getLocal (name:String, ?localPath:String, secure:Bool = false):SharedObject

@:value({ secure : false, persistence : false }) static getRemote (name:String, ?remotePath:String, persistence:Dynamic = false, secure:Bool = false):SharedObject

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