cursor
Usage
-- Lingo syntax
spriteObjRef.cursor
// JavaScript syntax
spriteObjRef.cursor;
Description
Sprite property; determines the cursor used when the pointer is over a sprite. Read/write.
This property stays in effect until you turn it off by setting the cursor to 0. Use the
property to change the cursor when the mouse pointer is over specific regions of the screen and to
indicate regions where certain actions are possible when the user clicks on them.
When you set the
determine whether to alter the cursor. This rectangle persists when the movie enters another
frame unless you set the
•
Use the following syntax to specify the number of a cast member to use as a cursor and its
optional mask.
-- Lingo syntax
spriteObjRef.cursor = [castMemberObjRef, maskCastMemberObjRef]
// JavaScript syntax
spriteObjRef.cursor = [castMemberObjRef, maskCastMemberObjRef];
•
Use the following syntax to specify default system cursors.
-- Lingo syntax
spriteObjRef.cursor = castMemberObjRef
// JavaScript syntax
spriteObjRef.cursor = castMemberObjRef;
The
property can be set to one of the following integer values:
cursor
Value
-1, 0
1
2
3
4
5
6
200
254
256
257
720
Chapter 14: Properties
property in a given frame, Director keeps track of the sprite rectangle to
cursor
property for that channel to 0.
cursor
Description
Arrow
I-Beam
Cross
Crossbar
Watch (Macintosh) or Hour glass (Windows)
North South East West (NSEW)
North South (NS)
Blank (hides cursor)
Help
Pencil
Eraser
cursor
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