
Chapter 3
124
Dot syntax:
on beginSprite me
if sprite(the spriteNum of me).member.centerRegPoint = TRUE then
sprite(the spriteNum of me).member.regPoint = point(0,0)
end if
end
Verbose syntax:
on beginSprite me
if the centerRegPoint of member the memberNum of me = TRUE then
set the regPoint of member the memberNum of me = point(0,0)
end if
end
See also
regPoint
centerStage
Syntax
the centerStage
Description
Movie property; determines whether the Stage is centered on the monitor when the movie is
loaded (
TRUE,
default) or not centered (
FALSE
). 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.
This property can be tested and set.
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.
Examples
This statement sends the movie to a specific frame if the Stage is not centered:
if the centerStage = FALSE then go to frame "Off Center"
This statement changes the
centerStage
property to the opposite of its current value:
set the centerStage to (not the centerStage)
See also
fixStageSize
changeArea
Syntax
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.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...