next up previous contents
Next: type Up: Properties Previous: shortPath   Contents

size

Description

Integer. Returns the size of the file. Read-only.


Syntax

file.size


Example

f = new File("c:\\demo\\A demo file.txt");
trace(f.size);
//output: 7




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.