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

Server-side actionscript language reference
Table of Contents

Advertisement

File.mkdir()
Availability
Flash Media Server 2.
Usage
fileObject.mkdir(newDir)
Parameters
A string indicating the name of the new directory. This name is relative to the
newDir
current File object instance.
Returns
A Boolean value indicating success (
) or failure (
).
true
false
Description
Method; creates a directory in the file directory.
Example
The following example creates a logs directory in the
instance:
myFileObject
if (myFileObject.mkdir("logs")){
// Do something if a logs directory is created successfully.
}
File.mode
Availability
Flash Media Server 2.
Usage
fileObject.mode
Description
Property (read-only); the mode of an open file. It can be different from the
parameter
mode
that was passed to open the file if you have repeating attributes (for example,
)
"read, read"
or if some attributes were ignored. The property is
if the file is closed.
undefined
See also
File.open()
File class
75

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?

This manual is also suitable for:

Flash media server 2

Table of Contents