User Guide
autoMask 647
Example
This statement sets the autoCameraPosition property of the cast member named Headline to
FALSE. When the cast member is displayed in 3D mode, the camera will not be positioned
automatically.
member("Headline").autoCameraPosition = FALSE
See also
displayMode
autoMask
Usage
member(whichCursorCastMember).autoMask
the autoMask of member whichCastMember
Description
Cast member property; specifies whether the white pixels in the animated color cursor cast
member
whichCursorCastMember are transparent, allowing the background to show through
(
TRUE, default), or opaque (FALSE).
Example
In this script, when the custom animated cursor stored in cast member 5 enters the sprite, the
automask is turned on so that the background of the sprite will show through the white pixels.
When the cursor leaves the sprite, the automask is turned off.
-- Lingo syntax
on mouseEnter
member 5.autoMask = TRUE
end
on mouseLeave
member 5.autoMask = FALSE
end
Using traditional Lingo syntax, the script is written as:
on mouseEnter
set the autoMask of member 5 = TRUE
end
on mouseLeave
set the autoMask of member 5 = FALSE
end