User Guide

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.