| Package | efnx.net |
| Class | public class MultiUploader |
| Inheritance | MultiUploader flash.events.EventDispatcher |
See also
| Property | Defined by | ||
|---|---|---|---|
| isLoaded : Boolean [read-only]
Tells whether all uploads have completed.
| MultiUploader | ||
| Method | Defined by | ||
|---|---|---|---|
|
MultiUploader(_testing:Boolean = false)
| MultiUploader | ||
|
get(entryName:String):*
Retrieves the data collected from an upload operation.
| MultiUploader | ||
|
unload(entryName:String):void
Unloads a given resource.
| MultiUploader | ||
|
unloadAll():void
Unloads all resources.
| MultiUploader | ||
|
upload(byteArray:ByteArray, location:String, entryName:String = "", variables:Object = null):void
Uploads a ByteArray to a given location and stores the data retrieved from that location.
| MultiUploader | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| When uploads are finished an event will be dispatched which event type is the name of the file that has completed it's upload. | MultiUploader | |||
| isLoaded | property |
isLoaded:Boolean [read-only]Tells whether all uploads have completed.
Implementation public function get isLoaded():Boolean
| MultiUploader | () | constructor |
public function MultiUploader(_testing:Boolean = false)Parameters
_testing:Boolean (default = false) — Sets verbose output.
|
| get | () | method |
public function get(entryName:String):*Retrieves the data collected from an upload operation.
ParametersentryName:String — The name of the upload to retrieve data from.
|
* |
| unload | () | method |
public function unload(entryName:String):voidUnloads a given resource.
ParametersentryName:String — Name of resource to unload.
|
| unloadAll | () | method |
public function unloadAll():voidUnloads all resources.
| upload | () | method |
public function upload(byteArray:ByteArray, location:String, entryName:String = "", variables:Object = null):void
Uploads a ByteArray to a given location and stores the data retrieved from that location.
Data can be retrieved from the uploader using the get function.
byteArray:ByteArray — A ByteArray containing the encoded file to upload.
|
|
location:String — A String URL denoting the save path.
|
|
entryName:String (default = "") — The name under which to store retrieved data.
|
|
variables:Object (default = null) — The post variables object to send with the file.
|
See also
| filename | event |
flash.events.Event
When uploads are finished an event will be dispatched which event type is the name
of the file that has completed it's upload. For example, if one uploads a file and
designates it's entryName as "FileOne" then the event type of it's complete
event will be "FileOne."