// JavaScript syntax
sprite(2).pause();
member("Real").pause();
See also
mediaStatus (RealMedia, Windows
Media), seek(),
perpendicularTo
Usage
vector1.perpendicularTo(vector2)
Description
3D vector command; returns a vector perpendicular to both the original vector and a second
vector. This command is equivalent to the vector
Parameters
Required. Specifies the second vector.
vector2
Example
In this example, pos1 is a vector on the x axis and pos2 is a vector on the y axis. The value
returned by
pos1.perpendicularTo(pos2)
last two lines of the example show the vector which is perpendicular to both pos1 and pos2.
pos1 = vector(100, 0, 0)
pos2 = vector(0, 100, 0)
put pos1.perpendicularTo(pos2)
-- vector( 0.0000, 0.0000, 1.00000e4 )
See also
crossProduct(),
pictureP()
Usage
-- Lingo syntax
pictureP(pictureValue)
// JavaScript syntax
pictureP(pictureValue);
Description
Function; reports whether the state of the
member is
TRUE
Because
pictureP
must test for a picture by checking the cast member's
Parameters
Required. Specifies a reference to the picture of a cast member.
pictureValue
446
Chapter 12: Methods
stop() (RealMedia, SWA, Windows Media)
cross
(1) or
(0).
FALSE
doesn't directly check whether a picture is associated with a cast member, you
Media),
play() (RealMedia, SWA, Windows
crossProduct
is
vector( 0.0000, 0.0000, 1.00000e4 )
member property for the specified cast
picture
picture
command.
member property.
. The
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