Modificationdate (Filereference.modificationdate Property); Name (Filereference.name Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

modificationDate (FileReference.modificationDate
property)
public modificationDate : Date [read-only]
The date that the file on the local disk was last modified. If the FileReference object has not
been populated, a call to get the value of this property returns
Availability: ActionScript 1.0; Flash Player 8
Example
The following example retrieves the
import flash.net.FileReference;
var listener:Object = new Object();
listener.onSelect = function(file:FileReference):Void {
trace("modificationDate: " + file.modificationDate);
}
var fileRef:FileReference = new FileReference();
fileRef.addListener(listener);
fileRef.browse();
See also
browse (FileReference.browse method)

name (FileReference.name property)

public name : String [read-only]
The name of the file on the local disk. If the FileReference object has not been populated, a
call to get the value of this property returns
All the properties of a FileReference object are populated by calling
FileReference properties, if you call
is invoked.
onSelect
Availability: ActionScript 1.0; Flash Player 8
Example
The following example retrieves the name of a file selected by the user.
import flash.net.FileReference;
var listener:Object = new Object();
listener.onSelect = function(file:FileReference):Void {
trace("name: " + file.name);
modificationDate
.
null
, the
download()
name
FileReference (flash.net.FileReference)
.
null
of a file selected by the user.
. Unlike other
browse()
property is populated when
569

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF