attenuation
639
Example
This statement displays the pathname for the folder that contains the Director application.
-- Lingo syntax
put(_player.applicationPath)
// JavaScript syntax
put(_player.applicationPath);
This statement opens the movie Sunset Boulevard in a window (on a Windows machine):
-- Lingo syntax
window(_player.applicationPath & "\Film Noir\Sunset Boulevard").open()
// JavaScript syntax
window(_player.applicati "\Film Noir\\Sunset Boulevard").open();
See also
applicationName
,
Player
aspectRatio
Usage
-- Lingo syntax
dvdObjRef
.aspectRatio
// JavaScript syntax
dvdObjRef
.aspectRatio;
Description
DVD property. Returns a property list that specifies the width and height of the DVD cast
member. Read-only.
Both the width and height are returned as integers.
Example
This statement returns the
aspectRatio
of member 1:
-- Lingo syntax
trace(member(1).aspectRatio) -- [#width: 16, #height:9]
// JavaScript syntax
trace(member(1).aspectRatio); // ["width": 16, "height":9];
See also
DVD
attenuation
Usage
member(
whichCastMember
).light(
whichLight
).attenuation
Description
3D light property; indicates the constant, linear, and quadratic attenuation factors for spotlights
and point lights.
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...