Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > FileReference (flash.net.FileReference) > 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 null.
Availability: ActionScript 1.0; Flash Player 8
The following example retrieves the modificationDate of a file selected by the user.
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();
browse (FileReference.browse method)
Flash CS3