03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Event Description<br />

onIOError =<br />

Invoked when an input/output error occurs.<br />

function(fileRef:Fi<br />

le<strong>Reference</strong>) {}<br />

onOpen =<br />

Invoked when an upload or download operation starts.<br />

function(fileRef:Fi<br />

le<strong>Reference</strong>) {}<br />

onProgress = Invoked periodically during the file upload or download operation.<br />

function(fileRef:Fi<br />

le<strong>Reference</strong>,<br />

bytesLoaded:Number,<br />

bytesTotal:Number)<br />

{}<br />

onSecurityError = Invoked when an upload or download fails because of a security error.<br />

function(fileRef:Fi<br />

le<strong>Reference</strong>,<br />

errorString:String)<br />

{}<br />

onSelect =<br />

function(fileRef:Fi<br />

le<strong>Reference</strong>) {}<br />

onUploadCompleteDat<br />

a =<br />

function(fileRef:Fi<br />

le<strong>Reference</strong>,<br />

data:String) {}<br />

Constructor summary<br />

Signature Description<br />

Invoked when the user selects a file to upload or download from the<br />

file-browsing dialog box.<br />

Invoked after data is received from the server after a successful<br />

upload.<br />

File<strong>Reference</strong>() Creates a new File<strong>Reference</strong> object.<br />

File<strong>Reference</strong> (flash.net.File<strong>Reference</strong>) 567

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!