MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 647

Director scripting reference
Table of Contents

Advertisement

Example
This statement sets the
. When the cast member is displayed in 3D mode, the camera will not be positioned
FALSE
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
(
default), or opaque (
TRUE,
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
autoCameraPosition
are transparent, allowing the background to show through
).
FALSE
property of the cast member named Headline to
autoMask
647

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