| Package | efnx.net |
| Class | public class Uploader |
| Inheritance | Uploader flash.net.URLLoader |
See also
| Property | Defined by | ||
|---|---|---|---|
| file : ByteArray
The file itself encoded in a ByteArray.
| Uploader | ||
| filename : String = ""
Filename to be sent to the server.
| Uploader | ||
| testing : Boolean = false [static]
| Uploader | ||
| url : String = ""
The destination url.
| Uploader | ||
| variables : Object
Variables to be sent to the server.
| Uploader | ||
| Method | Defined by | ||
|---|---|---|---|
|
Uploader()
| Uploader | ||
|
getPostData():ByteArray
Create post data to send in a UrlRequest
| Uploader | ||
|
upload():void
Uploads the file to the server.
| Uploader | ||
| file | property |
public var file:ByteArrayThe file itself encoded in a ByteArray.
| filename | property |
public var filename:String = ""Filename to be sent to the server.
| testing | property |
public static var testing:Boolean = false
| url | property |
public var url:String = ""The destination url.
| variables | property |
public var variables:ObjectVariables to be sent to the server.
| Uploader | () | constructor |
public function Uploader()
| getPostData | () | method |
public function getPostData():ByteArrayCreate post data to send in a UrlRequest
ReturnsByteArray |
| upload | () | method |
public function upload():voidUploads the file to the server.