User Guide
File class 71
File.eof()
Availability
Flash Media Server 2.
Usage
fileObject.eof()
Parameters
None.
Returns
A Boolean value.
Description
Method; returns a Boolean value indicating whether the file pointer is pointing to the end of
file (
true) or not (false). If the file is closed, the method returns true.
Example
The following while statement lets you insert code that executes until the file pointer is at the
end of a file:
while (!myFileObj.eof()){
// Do something here.
}
File.exists
Availability
Flash Media Server 2.
Usage
fileObject.exists
Description
Property (read-only); a Boolean value indicating whether the file or directory exists (true) or
not (
false).