514
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
chunkSize
and
time
. For example, if
chunkSize
is 1
pixel, the 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
changeArea
with a value that determines whether the transition occurs only in the
changing area (
TRUE
) or over the entire Stage (
FALSE
, default). The
changeArea
variable is an area
within which sprites have changed.
Example
The following statement performs a wipe right transition. Because no value is specified for
changeArea
, the transition occurs over the entire Stage, which is the default.
puppetTransition 1
This statement performs a wipe left transition that lasts 1 second, has a chunk size of 20, and
occurs over the entire Stage:
puppetTransition 2, 4, 20, FALSE
purgePriority
Syntax
member(
whichCastMember
).purgePriority
the purgePriority of member
whichCastMember
Description
Cast member property; specifies the purge priority of the cast member specified by
whichCastMember
.
Cast members’ purge priorities determine the priority that Director follows to choose which cast
members to delete from memory when memory is full. The higher the purge priority, the more
likely that the cast member will be deleted. The following
purgePriority
settings are available:
•
0—Never
•
1—Last
•
2—Next
•
3—Normal
Normal, which is the default, lets Director purge cast members from memory at random. Next,
Last, and Never allow some control over purging, but Last or Never may cause your movie to run
out of memory if several cast members are set to these values.
Setting
purgePriority
for cast members is useful for managing memory when the size of the
movie’s cast exceeds the available memory. As a general rule, you can minimize pauses while the
movie loads cast members and reduce the number of times Director reloads a cast member by
assigning a low purge priority to cast members that are used frequently in the course of the movie.
Example
This statement sets the purge priority of cast member Background to 3, which makes it one of the
first cast members to be purged when memory is needed:
member("Background").purgePriority = 3
Summary of Contents for DIRECTOR MX-LINGO DICTIONARY
Page 1: ...Lingo Dictionary Macromedia Director MX...
Page 756: ...Index 756...