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

Server-side actionscript language reference
Table of Contents

Advertisement

File.readByte()
Availability
Flash Media Server 2.
Usage
fileObject.readByte()
Parameters
Returns
A number; either a positive integer or -1.
Description
Method; reads the next byte from the file and returns the numeric value of the next byte or -1
if the operation fails. The operation fails if file is not opened in binary mode.
See also
,
,
File.read()
File.readAll()
File.readln()
File.readln()
Availability
Flash Media Server 2.
Usage
fileObject.readln()
Parameters
None.
Returns
A string.
Description
Method; reads the next line from the file and returns it as a string. The line-separator
characters (either \r\n on Windows or \n on Linux) are not included in the string. The
character \r is skipped; \n determines the actual end of the line. The operation fails if the file
opened in binary mode.
File class
79

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