-- Lingo syntax _movie.fixStageSize // JavaScript syntax _movie.fixStageSize;
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.
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);