Place the statement that includes this property in the movie that precedes the movie you want it
to affect.
This property is useful for checking the Stage location before a movie plays from a projector.
Note: Be aware that behavior while playing back in a projector differs between Windows and
Macintosh systems. Settings selected during creation of the projector may override this property.
Example
This statement sends the movie to a specific frame if the Stage is not centered:
-- Lingo syntax
if (_movie.centerStage = FALSE) then
_movie.go("Off Center")
end if
// JavaScript syntax
if (_movie.centerStage == false) {
_movie.go("Off Center");
}
This statement changes the
-- Lingo syntax
_movie.centerStage = not(_movie.centerStage)
// JavaScript syntax
_movie.centerStage = !(_movie.centerStage)
See also
fixStageSize,
changeArea
Usage
member(whichCastMember).changeArea
the changeArea of member whichCastMember
Description
Transition cast member property; determines whether a transition applies only to the changing
area on the Stage (
Changing Area Only option in the Frame Properties Transition dialog box.
This property can be tested and set.
Example
This statement makes the transition cast member Wave apply only to the changing area on
the Stage.
Dot syntax:
member("Wave").changeArea = TRUE
Verbose syntax:
set the changeArea of member "Wave" to TRUE
682
Chapter 14: Properties
centerStage
Movie
) or to the entire Stage (
TRUE
property to the opposite of its current value:
). Its effect is similar to selecting the
FALSE
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