User Guide

84 Server-Side ActionScript Language Reference
File.writeAll()
Availability
Flash Media Server 2.
Usage
fileObject.writeAll(array)
Parameters
array An Array object containing all the elements to write to the file.
Returns
A Boolean value indicating whether the write was successful (true) or not (false).
Description
Method; takes an array as a parameter and calls the File.writeln() method on each
element in the array.
The file contents are buffered internally. The
File.flush() method writes the buffer to the
file on disk.
See also
File.write(), File.writeByte(), File.writeln()
File.writeByte()
Availability
Flash Media Server 2.
Usage
fileObject.writeByte(number)
Parameters
number The numeric value to write.
Returns
A Boolean value indicating whether the write was successful (true) or not (false).
Description
Method; writes a byte to a file.