294
Chapter 12: Methods
displaySave()
Usage
-- Lingo syntax
fileioObjRef
.displaySave(
stringTitle
,
stringFileName
)
// JavaScript syntax
fileioObjRef
.displaySave(
stringTitle
,
stringFileName
);
Description
Fileio method; Displays a Save dialog box.
This method returns to script the full path and name of the saved file.
Parameters
stringTitle
Required. A string that specifies the title displayed in the Save dialog box.
stringFileName
Required. A string that specifies the full path and name of the file to save.
See also
Fileio
do
Usage
do
stringExpression
Description
Command; evaluates a string and executes the result as a script statement. This command is
useful for evaluating expressions that the user has typed and for executing commands stored in
string variables, fields, arrays, and files.
Using uninitialized local variables within a
do
command creates a compile error. Initialize any
local variables in advance.
Note:
This command does not allow global variables to be declared; these variables must be
declared in advance.
The
do
command works with multiple-line strings as well as single lines.
Parameters
stringExpression
Required. The string to be evaluated.
Example
This statement performs the statement contained within quotation marks:
do "beep 2"
do commandList[3]
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...