User Guide

FileReference (flash.net.FileReference) 559
Event summary
Event Description
onCancel =
function(fileRef
:FileReference)
{}
Invoked when the user dismisses the file-browsing dialog box.
onComplete =
function(fileRef
:FileReference)
{}
Invoked when the upload or download operation has successfully
completed.
onHTTPError =
function(fileRef
:FileReference,
httpError:Number
) {}
Invoked when an upload fails because of an HTTP error.
onIOError =
function(fileRef
:FileReference)
{}
Invoked when an input/output error occurs.
onOpen =
function(fileRef
:FileReference)
{}
Invoked when an upload or download operation starts.
onProgress =
function(fileRef
:FileReference,
bytesLoaded:Numb
er,
bytesTotal:Numbe
r) {}
Invoked periodically during the file upload or download operation.
onSecurityError
=
function(fileRef
:FileReference,
errorString:Stri
ng) {}
Invoked when an upload or download fails because of a security error.
onSelect =
function(fileRef
:FileReference)
{}
Invoked when the user selects a file to upload or download from the file-
browsing dialog box.