MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 689

Director scripting reference
Table of Contents

Advertisement

Example
This statement prevents Director from erasing past images of the view from the camera. Models
in motion will appear to smear across the stage.
sprite(1).camera.colorBuffer.clearAtRender = 0
See also
clearValue
clearValue
Usage
member(whichCastmember).camera(whichCamera).colorBuffer\
.clearValue
sprite(whichSprite).camera{(index)}.colorBuffer.clearValue
Description
3D property; specifies the color used to clear out the color buffer if
colorBuffer.clearAtRender
.
rgb(0, 0, 0)
Example
This statement sets the clearValue property of the camera to rgb(255, 0, 0). Spaces in the 3d
world which are not occupied by models will appear red.
sprite(1).camera.colorBuffer.clearValue= rgb(255, 0, 0)
See also
clearAtRender
clickLoc
Usage
-- Lingo syntax
_mouse.clickLoc
// JavaScript syntax
_mouse.clickLoc;
Description
Mouse property; identifies as a point the last place on the screen where the mouse was clicked.
Read-only.
Example
The following
on mouseDown
-- Lingo syntax
on mouseDown
put(_mouse.clickLoc)
end mouseDown
is set to
. The default setting for this property is
TRUE
handler displays the last mouse click location:
clickLoc
689

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