Packagexp.utils
Classpublic class FileDownloadManager
InheritanceFileDownloadManager Inheritance flash.events.EventDispatcher

File upload manager Manages uploading files to the server

See also

support


Public Properties
 PropertyDefined by
  url : String
The destination url to upload to
FileDownloadManager
Public Methods
 MethodDefined by
  
FileDownloadManager(url:String)
Create a new instance of the file upload manager
FileDownloadManager
  
onComplete(fileRef:Object):void
Callback when a file has been loaded
FileDownloadManager
  
onHTTPError(fileRef:Object, httpError:String):void
Callback on a HTTP error
FileDownloadManager
  
onIOError(fileRef:Object):void
Callback on a file IO error
FileDownloadManager
  
onProgress(fileRef:Object, bytesLoaded:Number, bytesTotal:Number):void
Callback as a file is being loaded
FileDownloadManager
  
onSecurityError(fileRef:Object, errorCode:String):void
Callback on a file security error
FileDownloadManager
  
start(files:Array):void
Start uploading the files
FileDownloadManager
  
toString():String
The About string
FileDownloadManager
Property detail
urlproperty
public var url:String

The destination url to upload to

Constructor detail
FileDownloadManager()constructor
public function FileDownloadManager(url:String)

Create a new instance of the file upload manager

Parameters
url:String
Method detail
onComplete()method
public function onComplete(fileRef:Object):void

Callback when a file has been loaded

Parameters
fileRef:Object
onHTTPError()method 
public function onHTTPError(fileRef:Object, httpError:String):void

Callback on a HTTP error

Parameters
fileRef:Object
 
httpError:String
onIOError()method 
public function onIOError(fileRef:Object):void

Callback on a file IO error

Parameters
fileRef:Object
onProgress()method 
public function onProgress(fileRef:Object, bytesLoaded:Number, bytesTotal:Number):void

Callback as a file is being loaded

Parameters
fileRef:Object
 
bytesLoaded:Number
 
bytesTotal:Number
onSecurityError()method 
public function onSecurityError(fileRef:Object, errorCode:String):void

Callback on a file security error

Parameters
fileRef:Object
 
errorCode:String
start()method 
public function start(files:Array):void

Start uploading the files

Parameters
files:Array
toString()method 
public override function toString():String

The About string

Returns
String