730
Chapter 14: Properties
// JavaScript syntax
trace(newImage.depth);
This statement displays the color depth of the cast member Shrine in the Message window:
-- Lingo syntax
put(member("Shrine").depth)
// JavaScript syntax
put(member("Shrine").depth);
depthBufferDepth
Usage
getRendererServices().depthBufferDepth
Description
3D
rendererServices
property; indicates the precision of the hardware depth buffer of the
user’s system. The value is either 16 or 24, depending on the user’s hardware settings.
Example
This statement shows that the
depthBufferDepth
value of the user’s video card is 16:
put getRendererServices().depthBufferDepth
-- 16
See also
getRendererServices()
,
getHardwareInfo()
,
colorBufferDepth
deskTopRectList
Usage
-- Lingo syntax
_system.deskTopRectList
// JavaScript syntax
_system.deskTopRectList;
Description
System property; displays the size and position on the desktop of the monitors connected to a
computer. Read-only.
This property is useful for checking whether objects such as windows, sprites, and pop-up
windows appear entirely on one screen.
The result is a list of rectangles, where each rectangle is the boundary of a monitor. The
coordinates for each monitor are relative to the upper left corner of monitor 1, which has the
value (0,0). The first set of rectangle coordinates is the size of the first monitor. If a second
monitor is present, a second set of coordinates shows where the corners of the second monitor are
relative to the first monitor.
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...