W3cubDocs

/Haxe Flash

FileReference

package flash.net

extends EventDispatcher

Available on flash

Constructor

new ()

Variables

read only creationDate:Date

read only creator:String

@:require(flash10) read only data:ByteArray

read only modificationDate:Date

read only name:String

read only size:Float

read only type:String

Methods

browse (?typeFilter:Array<FileFilter>):Bool

cancel ():Void

download (request:URLRequest, ?defaultFileName:String):Void

@:require(flash10) load ():Void

@:require(flash10) save (data:Dynamic, ?defaultFileName:String):Void

@:value({ testUpload : false }) upload (request:URLRequest, ?uploadDataFieldName:String, testUpload:Bool = false):Void

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