User Guide

485
playRate
Syntax
member(whichCastmember).model(whichModel).bonesPlayer.playRate
member(whichCastmember).model(whichModel).keyframePlayer.playRate
Description
3D #keyframePlayer and #bonesPlayer modifier property; scale multiplier for the local time
of motions being played. This property only partially determines the speed at which motions are
executed by the model.
The playback of a motion by a model is the result of either a
play() or queue() command. The
scale parameter of the play() or queue() command is multiplied by the modifiers playRate
property, and the resulting value is the speed at which the particular motion will be played back.
Example
This statement sets the playRate property of the keyframePlayer modifier for the model
named GreenAlien to 3:
member("newAliens").model("GreenAlien").keyframePlayer.playRate = 3
See also
play() (3D), queue() (3D), playlist, currentTime (3D)
point()
Syntax
point(horizontal, vertical)
Description
Function and data type; yields a point that has the horizontal coordinate specified by horizontal
and the vertical coordinate specified by vertical.
A point has a
locH and a locV property. Point coordinates can be changed by arithmetic operations.
To see an example of
point() used in a completed movie, see the Imaging and Vector Shapes
movies in the Learning/Lingo Examples folder inside the Director application folder.
Examples
This statement sets the variable lastLocation to the point (250, 400):
set lastLocation = point(250, 400)
This statement adds 5 pixels to the horizontal coordinate of the point assigned to the variable
myPoint:
myPoint.locH = myPoint.locH + 5
The following statements set a sprites Stage coordinates to mouseH and mouseV plus 10 pixels.
The two statements are equivalent.
sprite(the clickOn).loc = point(the mouseH, the mouseV) + point(10, 10)
sprite(the clickOn).loc = the mouseLoc + 10