Field Summary |
public
| fileTypes: Array |
| The file types filter for the select files dialog
|
|
public
| maxFileSize: Number |
| The maximum file size to be uploaded
|
|
public
| url: String |
| The destination url to upload to*
|
|
|
Constructor |
public
| FileUploadManager (
url: String)
|
| Create a new instance of the file upload manager *
|
|
Method Summary |
public
| browse (
): Void |
| browse for files to upload *
|
|
public
| clear (
): Void |
| Clear file in the list *
|
|
public
| getFile (
index: Number
): flash.net.FileReference |
| returns the file ref object at the specified index*
|
|
public
| onComplete (
fileRef: Object
): Void |
| Callback when a file has been loaded*
|
|
public
| onHTTPError (
fileRef: Object, httpError: String
) |
| Callback on a HTTP error*
|
|
public
| onIOError (
fileRef: Object
): Void |
| Callback on a file IO error*
|
|
public
| onProgress (
fileRef: Object, bytesLoaded: Number, bytesTotal: Number
): Void |
| Callback as a file is being loaded*
|
|
public
| onSecurityError (
fileRef: Object, errorCode: String
): Void |
| Callback on a file security error*
|
|
public
| onSelect (
refList: Object
): Void |
| Callback from the reflist when file(s) have been selected
|
|
public
| start (
files: Array
): Void |
| Start uploading the files*
|
|
public
| toString (
): String |
| The About string*
|
|
public
| upload (
): Void |
| Upload file in the list *
|
|
|
|