![MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference Download Page 722](http://html1.mh-extra.com/html/macromedia/director-mx-2004-director-scripting/director-mx-2004-director-scripting_reference_3321720722.webp)
722
Chapter 14: Properties
To use custom cursors, set the
cursor
property to a list containing the cast member to be used as
a cursor or to the number that specifies a system cursor. In Windows, a cursor must be a cast
member, not a resource; if a cursor is not available because it is a resource, Director displays the
standard arrow cursor instead. For best results, don’t use custom cursors when creating cross-
platform movies.
Custom cursor cast members must be no larger than 16 by 16 pixels, and must be 1-bit in depth.
If the sprite is a bitmap that has matte ink applied, the cursor changes only when the cursor is
over the matte portion of the sprite.
When the cursor is over the location of a sprite that has been removed, rollover still occurs. Avoid
this problem by not performing rollovers at these locations or by relocating the sprite up above
the menu bar before deleting it.
On the Macintosh, you can use a numbered cursor resource in the current open movie file as the
cursor by setting
cursor
to the number of the cursor resource.
Example
This statement changes the cursor that appears over sprite 20 to a watch (Macintosh) or hourglass
(Windows) cursor.
-- Lingo syntax
sprite(20).cursor = 4
// JavaScript syntax
sprite(20).cursor = 4;
See also
Sprite
301
Air brush
302
Zoom in
303
Zoom out
304
Zoom cancel
305
Start shape
306
Add point
307
Close shape
308
Zoom camera
309
Move camera
310
Rotate camera
457
Custom
Value
Description
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
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...