User Guide

82 Server-Side ActionScript Language Reference
Description
Method; skips a specified number of bytes and returns the new file position. This method can
accept both positive and negative parameters.
Example
In the following example, if the seek call is successful, the code in the if statement runs:
if (fileObj.seek(10) != -1){
// Do something here.
}
File.toString()
Availability
Flash Media Server 2.
Usage
fileObject.toString()
Parameters
None.
Returns
A string.
Description
Method; returns the path to the File object.
Example
The following example outputs the path of the File object myFileObject:
trace(myFileObject.toString());
File.type
Availability
Flash Media Server 2.
Usage
fileObject.type