EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 638

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.