MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 456

Director scripting reference
Table of Contents

Advertisement

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
Point coordinates can be changed by arithmetic operations using Lingo only. For example, the
following two points can be added together using Lingo, but
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
movies in the Learning/Lingo folder inside the Director application folder.
456
Chapter 12: Methods
and a
property.
locH
locV
used in a completed movie, see the Imaging and Vector Shapes
point()
is returned using JavaScript
NaN

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents