MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 799

Director scripting reference
Table of Contents

Advertisement

Description
3D camera property; indicates the distance in world units from the camera beyond which models
are drawn. Objects closer to the camera than
The value of this property must be greater than or equal to 1.0 and has a default value of 5.0.
Example
The following statement sets the hither property of camera 1 to 1000. Models closer than 1000
world units from the camera will not be visible.
member("SolarSystem").camera[1].hither = 1000
See also
yon
hotSpot
Usage
-- Lingo syntax
memberObjRef.hotSpot
// JavaScript syntax
memberObjRef.hotSpot;
Description
Cursor cast member property; specifies the horizontal and vertical point location of the pixel that
represents the hotspot within the animated color cursor cast member
Director uses this point to track the cursor's position on the screen (for example, when it returns
the values for the Lingo functions
(signaled by the Lingo message
The upper left corner of a cursor is point(0,0), which is the default
point outside the bounds of the cursor produces an error. For example, setting the hotspot of a
16-by-16-pixel cursor to point(16,16) produces an error (because the starting point is 0,0, not
1,1).
This property can be tested and set.
Example
This handler sets the hotspot of a 32-by-32-pixel cursor (whose cast member number is stored in
the variable
cursorNum
-- Lingo syntax
on startMovie
member(cursorNum).hotSpot = point(16,16)
end
// JavaScript syntax
function startMovie() {
member(cursorNum).hotSpot = point(16,16);
}
and
mouseH
) occurs.
mouseEnter
) to the middle of the cursor:
are not drawn.
hither
) and to determine where a rollover
mouseV
hotSpot
whichCursorCastMember
value. Trying to set a
hotSpot
.
799

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?

This manual is also suitable for:

Director mx 2004

Table of Contents