Package | com.myflashlab.air.extensions.fileChooser |
Class | public class FileChooserEvent |
Inheritance | FileChooserEvent flash.events.Event |
Method | Defined By | ||
---|---|---|---|
FileChooserEvent(type:String, data:* = null, bubbles:Boolean = false, cancelable:Boolean = false) | FileChooserEvent |
Constant | Defined By | ||
---|---|---|---|
ERROR : String = onError [static]
incase there's been an error in selecting the file, this event will be dispatched. | FileChooserEvent | ||
RESULT : String = onResult [static]
when you select a file and return to your flash project, this listener will be called and pass the selected file as a File
object which you can get it by calling e.param as File. | FileChooserEvent |
FileChooserEvent | () | Constructor |
public function FileChooserEvent(type:String, data:* = null, bubbles:Boolean = false, cancelable:Boolean = false)
type:String | |
data:* (default = null )
| |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
|
ERROR | Constant |
public static const ERROR:String = onError
incase there's been an error in selecting the file, this event will be dispatched.
RESULT | Constant |
public static const RESULT:String = onResult
when you select a file and return to your flash project, this listener will be called and pass the selected file as a File
object which you can get it by calling e.param as File
.