User Guide
456 Chapter 12: Methods
playerParentalLevel()
Usage
-- Lingo syntax
dvdObjRef.playerParentalLevel()
// JavaScript syntax
dvdObjRef.playerParentalLevel();
Description
DVD method; returns the parental level of the player.
Possible parental levels range from 1 to 8.
Parameters
None.
See also
DVD
point()
Usage
-- Lingo syntax
point(intH, intV)
// JavaScript syntax
point(intH, intV);
Description
Top level function and data type. Returns a point that has specified horizontal and
vertical coordinates.
A point has both a
locH and a locV property.
Point coordinates can be changed by arithmetic operations using Lingo only. For example, the
following two points can be added together using Lingo, but
NaN is returned using JavaScript
syntax:
-- Lingo
pointA = point(10,10)
pointB = point(5,5)
put(pointA + pointB)
-- point(15,15)
// JavaScript syntax
var pointA = point(10,10);
var pointB = point(5,5);
trace(pointA + pointB);
// NaN
To see an example of point() used in a completed movie, see the Imaging and Vector Shapes
movies in the Learning/Lingo folder inside the Director application folder.