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 (
) or not (
). If the file is closed, the method returns
.
true
false
true
Example
The following
statement lets you insert code that executes until the file pointer is at the
while
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 (
) or
true
not (
).
false
File class
71
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?