Main Page | Packages | Class Tree | Index | Help

xp.util

class FileDownloadManager

Object
  |
  +--xp.system.DispatcherObject
        |
        +--xp.util.FileDownloadManager


class FileDownloadManager
extends DispatcherObject

File upload manager

Manages uploading files to the server


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary

public
url: String
The destination url to upload to*

Fields inherited from class xp.system.DispatcherObject

parent

Constructor

public
FileDownloadManager ( url: String)
Create a new instance of the file upload manager *

Method Summary

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
start ( files: Array ): Void
Start uploading the files*

public
toString ( ): String
The About string*

Methods inherited from class xp.system.DispatcherObject

addEventListener, removeEventListener, routeEvent



Field Documentation

url

public var url: String
The destination url to upload to*


Constructor Documentation

FileDownloadManager

public function FileDownloadManager(url: String)
Create a new instance of the file upload manager *


Method Documentation

onComplete

public function onComplete(fileRef: Object): Void
Callback when a file has been loaded*

onHTTPError

public function onHTTPError(fileRef: Object,
 httpError: String)
Callback on a HTTP error*

onIOError

public function onIOError(fileRef: Object): Void
Callback on a file IO error*

onProgress

public function onProgress(fileRef: Object,
 bytesLoaded: Number,
 bytesTotal: Number): Void
Callback as a file is being loaded*

onSecurityError

public function onSecurityError(fileRef: Object,
 errorCode: String): Void
Callback on a file security error*

start

public function start(files: Array): Void
Start uploading the files*

toString

public function toString(): String
The About string*


The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc