MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 722

Director scripting reference
Table of Contents

Advertisement

Value
301
302
303
304
305
306
307
308
309
310
457
To use custom cursors, set the
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
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
722
Chapter 14: Properties
Description
Air brush
Zoom in
Zoom out
Zoom cancel
Start shape
Add point
Close shape
Zoom camera
Move camera
Rotate camera
Custom
property to a list containing the cast member to be used as
cursor
to the number of the cursor resource.
cursor

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