Flash Media Server |
|||
| Server-Side ActionScript Language Reference > Server-Side ActionScript Language Reference > File class > File.eof() | |||
Flash Media Server 2.
fileObject.eof()
None.
A Boolean value.
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.
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.
}