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

Server-side actionscript language reference
Table of Contents

Advertisement

See also
,
,
File.read()
File.readAll()
File.readByte()
File.remove()
Availability
Flash Media Server 2.
Usage
fileObject.remove()
Parameters
None.
Returns
A Boolean value indicating whether the file or directory was removed successfully (
) or
true
not (
).
false
Description
Method; removes the file or directory specified to by the File object. The method returns
if the file is open, the path points to a root folder, or the directory is not empty.
false
Example
The following
statement lets you execute code when
is removed:
if
myFileObject
if (myFileObject.remove()){
// Do something here.
}
File.renameTo()
Availability
Flash Media Server 2.
Usage
fileObject.renameTo(name)
80
Server-Side ActionScript Language Reference

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