682
Chapter 14: Properties
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
centerStage
property to the opposite of its current value:
-- Lingo syntax
_movie.centerStage = not(_movie.centerStage)
// JavaScript syntax
_movie.centerStage = !(_movie.centerStage)
See also
fixStageSize
,
Movie
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 (
TRUE
) or to the entire Stage (
FALSE
). Its effect is similar to selecting the
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
Содержание DIRECTOR MX 2004-DIRECTOR SCRIPTING
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...