638
Chapter 14: Properties
See also
displayTemplate
,
titlebarOptions
,
visible
,
Window
applicationName
Usage
-- Lingo syntax
_player.applicationName
// JavaScript syntax
_player.applicationName;
Description
Player property; specifies the name of the running copy of the Director application during
authoring, or the name of a projector file during runtime. Read-only.
The property value is a string.
Shockwave Player does not support this property.
Example
This statement displays the name of the Director application, Director.exe.
-- Lingo syntax
put(_player.applicationName)
// JavaScript syntax
put(_player.applicationName);
See also
applicationPath
,
Player
applicationPath
Usage
-- Lingo syntax
_player.applicationPath
// JavaScript syntax
_player.applicationPath;
Description
Player property; determines the path or location of the folder containing the running copy of the
Director application during authoring, or the folder containing the projector during runtime.
Read-only.
The property value is a string.
If you use
applicationPath
followed by
&
and a path to a subfolder, enclose the entire
expression in parentheses so that script parses the expression as one phrase.
Shockwave Player does not support this property.
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...