Code
Transition
20
Reveal down, left
21
Reveal left
22
Reveal up, left
23
Dissolve, pixels fast*
24
Dissolve, boxy rectangles
25
Dissolve, boxy squares
26
Dissolve, patterns
Transitions marked with an asterisk (*) do not work on monitors set to 32 bits.
There is no direct relationship between a low time value and a fast transition. The actual speed of
the transition depends on the relation of
transition takes longer no matter how low the time value, because the computer has to do a lot of
work. To make transitions occur faster, use a larger chunk size, not a shorter time.
Replace
with a value that determines whether the transition occurs only in the changing area
area
(
) or over the entire Stage (
TRUE
have changed.
Parameters
Required if using an Xtra transition cast member. A reference to the Xtra cast
memberObjRef
member to use as the transition.
Required if using a built-in Director transition. An integer that specifies the number of the
int
transition to use.
Optional. An integer that specifies that number of quarter seconds used to complete the
time
transition. Valid values range from 0 to 120.
Optional. An integer that specifies the number of pixels in each chunk of the transition.
size
Valid values range from 1 to 128.
Optional. A boolean value that specifies whether the transition occurs only in the changing
area
area (
) or over the entire Stage (
TRUE
Example
The following statement performs a wipe right transition. Because no value is specified for
the transition occurs over the entire Stage, which is the default.
-- Lingo syntax
_movie.puppetTransition(1)
// JavaScript syntax
_movie.puppetTransition(1);
482
Chapter 12: Methods
Code
Transition
46
Strips on top, build right
47
Zoom open
48
Zoom close
49
Vertical blinds
50
Dissolve, bits fast*
51
Dissolve, pixels*
52
Dissolve, bits*
and
size
time
, default). The
FALSE
area
).
FALSE
. For example, if
size
variable is an area within which sprites
is 1 pixel, the
,
area
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