938
Chapter 14: Properties
Example
This statement displays in the Message window the name of the Director application.
-- Lingo syntax
trace(_player.productName)
// JavaScript syntax
trace(_player.productName);
See also
Player
productVersion
Usage
-- Lingo syntax
_player.productVersion
// JavaScript syntax
_player.productVersion;
Description
Player property; returns the version number of the Director application. Read-only.
Example
This statement displays in the Message window the version of the Director application.
-- Lingo syntax
trace(_player.productVersion)
// JavaScript syntax
trace(_player.productVersion);
See also
Player
projection
Usage
sprite(
whichSprite
).camera.projection
camera(
whichCamera
).projection
member(
whichCastmember
).camera(
whichCamera
).projection
Description
3D property; allows you to get or set the projection style of the camera. Possible values are
#perspective
(the default) and
#orthographic
.
When projection is
#perspective
, objects closer to the camera appear larger than objects farther
from the camera, and the
projectionAngle
or
fieldOfView
properties specify the vertical
projection angle (which determines how much of the world you see). The horizontal projection
angle is determined by the aspect ratio of the camera's
rect
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...