window()
589
voidP()
Usage
-- Lingo syntax
voidP(
variableName
)
// JavaScript syntax
variableName
== null
Description
Function; determines whether a specified variable has any value. If the variable has no value or
is
VOID
, this function returns
TRUE
. If the variable has a value other than
VOID
, this function
returns
FALSE
.
Parameters
variableName
Required. Specifies the variable to test.
Example
This statement checks whether the variable
answer
has an initial value:
-- Lingo syntax
put voidP(answer)
// JavaScript syntax
put(answer == null));
See also
ilk()
,
VOID
window()
Usage
-- Lingo syntax
window(
stringWindowName
)
// JavaScript syntax
window(
stringWindowName
);
Description
Top level function; returns a reference to a specified window.
The specified window must contain a Director movie.
Windows that play movies are useful for creating floating palettes, separate control panels, and
windows of different shapes. Using windows that play movies, you can have several movies open
at once and allow them to interact.
Parameters
stringWindowName
Required. A string that specifies the name of the window to reference.
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...