creationDate (FileReference.creationDate property)

public creationDate : Date [read-only]

The creation date 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 null.

Availability: ActionScript 1.0; Flash Player 8

Example

The following example retrieves the creation date of a file selected by the user.

import flash.net.FileReference;

var listener:Object = new Object();
listener.onSelect = function(file:FileReference):Void {
    trace("creationDate: " + file.creationDate);
}

var fileRef:FileReference = new FileReference();
fileRef.addListener(listener);
fileRef.browse();

See also

browse (FileReference.browse method)


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00001660.html