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()