![MACROMEDIA DIRECTOR MX 2004 Reference Download Page 689](http://html1.mh-extra.com/html/macromedia/director-mx-2004/director-mx-2004_reference_687516689.webp)
clickLoc
689
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
is set to
TRUE
. The default setting for this property is
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
handler displays the last mouse click location:
-- Lingo syntax
on mouseDown
put(_mouse.clickLoc)
end mouseDown
Summary of Contents for DIRECTOR MX 2004
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...