MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 585

Actionscript 2.0 language reference
Table of Contents

Advertisement

trace(item.addListener(this));
item.upload("http://www.yourdomain.com/");
}
}
listener.onCancel = function():Void {
trace("onCancel");
}
listener.onOpen = function(file:FileReference):Void {
trace("onOpen: " + file.name);
}
listener.onProgress = function(file:FileReference, bytesLoaded:Number,
bytesTotal:Number):Void {
trace("onProgress with bytesLoaded: " + bytesLoaded + " bytesTotal: " +
bytesTotal);
}
listener.onComplete = function(file:FileReference):Void {
trace("onComplete: " + file.name);
}
listener.onHTTPError = function(file:FileReference, httpError:Number):Void
{
trace("onHTTPError: " + file.name + " httpError: " + httpError);
}
listener.onIOError = function(file:FileReference):Void {
trace("onIOError: " + file.name);
}
listener.onSecurityError = function(file:FileReference,
errorString:String):Void {
trace("onSecurityError: " + file.name + " errorString: " + errorString);
}
var fileRef:FileReferenceList = new FileReferenceList();
fileRef.addListener(listener);
fileRef.browse();
See also
FileReference (flash.net.FileReference)
FileReferenceList (flash.net.FileReferenceList)
585

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF