ADOBE DIRECTOR 11.0
User Guide
299
For
whichCursorCastMember
, substitute a cast member name (surrounded by quotation marks) or a cast member
number. For example, the following sprite script changes the cursor to the cast member named myCursor when the
cursor is over the sprite:
on mouseEnter
cursor (member "myCursor")
end
To reset the cursor to the regular arrow cursor, specify a cursor type of -1 and do not use parentheses. The following
sample sprite script resets the cursor:
on mouseLeave
cursor -1
end
Note:
Do not place an animated color cursor cast member on the Stage.
For more information, see the Scripting Reference topics in the Director Help Panel.