The file contents are buffered internally. The
file on disk.
Example
The following example writes byte 65 to the end of the
if (myFileObject.open("text","append")) {
myFileObject.writeByte(65);
}
See also
,
File.write()
File.writeAll()
File.writeln()
Availability
Flash Media Server 2.
Usage
fileObject.writeln(param0, param1,...paramN)
Parameters
param0, param1,...paramN
Returns
A Boolean value indicating whether the write was successful (
Description
Method; writes data to a file and adds a platform-dependent end-of-line character after the
last parameter.
The file contents are buffered internally. The
file on disk.
Example
The following example opens a text file for writing and writes a line:
if (fileObj.open( "text", "append") ) {
fileObj.writeln("This is a line!");
}
See also
,
File.write()
File.writeAll()
File.flush()
,
File.writeln()
Strings to write to the file.
File.flush()
,
File.writeByte()
method writes the buffer to the
file:
myFileObject
) or not (
true
false
method writes the buffer to the
).
File class
85
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?