Flash Media Server |
|||
| Server-Side ActionScript Language Reference > Server-Side ActionScript Language Reference > File class > File.flush() | |||
Flash Media Server 2.
fileObject.flush()
A Boolean value; returns a Boolean value indicating whether the flush operation was successful (true) or not (false).
Method; flushes the output buffers of a file. The operation fails if the file is closed.
The following if statement lets you insert code that executes if myFileObj flushes successfully:
if (myFileObj.flush()){
// Do something here.
}