User Guide

flashRect 775
fixStageSize
Usage
-- Lingo syntax
_movie.fixStageSize
// JavaScript syntax
_movie.fixStageSize;
Description
Movie property; determines whether the Stage size remains the same when you load a new movie
(
TRUE, default), or not (FALSE), regardless of the Stage size saved with that movie, or the setting
for the
centerStage. Read/write.
The
fixStageSize property cannot change the Stage size for a movie that is currently playing.
Example
The following statement determines whether the fixStageSize property is turned on. If
fixStageSize is FALSE, it sends the playhead to a specified frame.
-- Lingo syntax
if (_movie.fixStageSize = FALSE) then
_movie.go("proper size")
end if
// JavaScript syntax
if (_movie.fixStageSize == false) {
_movie.go("proper size");
}
This statement sets the fixStageSize property to the opposite of its current setting:
-- Lingo syntax
_movie.fixStageSize = not(_movie.fixStageSize)
// JavaScript syntax
_movie.fixStageSize = !(_movie.fixStageSize);
See also
centerStage, Movie
flashRect
Usage
-- Lingo syntax
memberObjRef.flashRect
// JavaScript syntax
memberObjRef.flashRect;
Description
Cast member property; indicates the size of a Flash movie or vector shape cast member as it was
originally created. The property values are indicated as a Director rectangle: for example,
rect(0,0,32,32).