![MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference Download Page 725](http://html1.mh-extra.com/html/macromedia/director-mx-2004-director-scripting/director-mx-2004-director-scripting_reference_3321720725.webp)
decayMode
725
debugPlaybackEnabled
Usage
-- Lingo syntax
_player.debugPlaybackEnabled
// JavaScript syntax
_player.debugPlaybackEnabled;
Description
Player property; in Windows, opens a Message window for debugging purposes in Shockwave
and projectors. On the Macintosh, a log file is generated to allow
put
statements to output data
for debugging purposes. Read/write.
In Windows, this property does not have any effect when used in the Director application. Once
the Message window is closed, it cannot be reopened for a particular Shockwave Player or
projector session. If more than one movie with Shockwave content uses this script in a single
browser, only the first will open a Message window, and the Message window will be tied to the
first movie alone.
On the Macintosh, the generated log file is located in the Shockwave Player folder at HardDrive/
System Folder/Extensions/Macromedia/Shockwave.
To open this Message window, set the
debugPlaybackEnabled
property to
TRUE
. To close the
window, set the
debugPlaybackEnabled
property to
FALSE
.
Example
This statement opens the Message window in either Shockwave Player or a projector:
-- Lingo syntax
_player.debugPlaybackEnabled = TRUE
// JavaScript syntax
_player.debugPlaybackEnabled = true;
See also
Player
,
put()
decayMode
Usage
member(
whichCastmember
).camera(
whichCamera
).fog.decayMode
sprite(
whichSprite
).camera{(
index
)}.fog.decayMode
Description
3D property; indicates the manner in which fog density builds from minimum to maximum
density when the camera’s
fog.enabled
property is set to
TRUE
.
The following are the possible values for this property:
•
#linear
: the fog density is linearly interpolated between
fog.near
and
fog.far
.
•
#exponential
:
fog.far
is the saturation point;
fog.near
is ignored.
•
#exponential2
:
fog.near
is the saturation point;
fog.far
is ignored.
The default setting for this property is
#exponential
.
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...