MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 437

Director scripting reference
Table of Contents

Advertisement

Example
This statement opens the window Control Panel and brings it to the front:
-- Lingo syntax
window("Control Panel").open()
// JavaScript syntax
window("Control Panel").open();
See also
close(), downloadNetThing,
openFile()
Usage
-- Lingo syntax
fileioObjRef.openFile(stringFileName, intMode)
// JavaScript syntax
fileioObjRef.openFile(stringFileName, intMode)
Description
Fileio method; Opens a specified file with a specified mode.
Parameters
stringFileName
Required. An integer that specifies the mode of the file. Valid values include:
intMode
0—Read/write
1—Read-only
2—Writeable
See also
Fileio
openXlib
Usage
openXlib whichFile
Description
Command; opens a specified Xlibrary file.
It is good practice to close any file you have opened as soon as you are finished using it. The
command has no effect on an open file.
openXlib
The
command doesn't support URLs as file references.
openXlib
Xlibrary files contain Xtra extensions. Unlike
extensions known to Director.
When you open a Scripting Xtra extension using
when Director is finished using it.
fileName
Required. A string that specifies the full path and name of the file to open.
(Window), preLoadMovie(),
,
openResFile
openXlib
, you must use
openXlib
Window
makes these Xtra
to close it
closeXlib
openXlib
437

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents