|
Flash CS4 Resources |
FLfile.getSize()Parameters
ReturnsAn integer that represents the size of the specified file, in bytes, or 0 if the file doesn’t exist. DescriptionMethod; returns an integer that represents the size of the specified file, in bytes, or 0 if the file doesn’t exist. If the return value is 0, you can use FLfile.exists() to determine whether the file is a zero-byte file or the file doesn’t exist. This method returns correct file size values only for files that are less than or equal to 2GB in size. |