ActionScript 3.0 Language and Components Reference [openASDocs]

GetFiles

Properties | Methods | Events
GetFiles by Leandro Silva

Package com.tremorvideo.airbase
Class public class GetFiles
Inheritance GetFiles EventDispatcher
Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Simplifies the actions related to getting files.

See also

com.tremorvideo.airbase.evts.GetFilesEvent



Public Properties


Property
Defined By
acceptedTypes : Array
[AIR] The accepted file types.
GetFiles

Public Methods


Method
Defined By
disposeViaDropListeners():void
[AIR] Removes all listeners and cleans up all properties related to the viaDrop method.
GetFiles
viaDialog(dialogTitle:String = "Open", selectMultiple:Boolean = false):void
[AIR]
GetFiles
viaDownload(url:String):void
[AIR] Get a file via download.
GetFiles
viaDownloadSilent(url:String, saveTo:String, rename:String = null):void
[AIR] Get a file via download without user initiation.
GetFiles
viaDrop(dropTarg:InteractiveObject):void
[AIR] Get a file (or mulitple files) via dialog select.
GetFiles

Events


Event
Summary
Defined By
downloadProgress
[AIR] Dispatched on download progress.
GetFiles
dragIn
[AIR] Dispatched on drag enter when using the viaDrop method.
GetFiles
dragOut
[AIR] Dispatched on drag exit when using the viaDrop method.
GetFiles
files
[AIR] Dispatched when files are available.
GetFiles
filesError
[AIR] Dispatched when there is a file error.
GetFiles

Created May 18 2015