MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 85

Server-side actionscript language reference
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents