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
(
, default), or not (
TRUE
for the
centerStage
The
fixStageSize
Example
The following statement determines whether the
is
fixStageSize
-- 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
-- Lingo syntax
_movie.fixStageSize = not(_movie.fixStageSize)
// JavaScript syntax
_movie.fixStageSize = !(_movie.fixStageSize);
See also
centerStage,
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).
), regardless of the Stage size saved with that movie, or the setting
FALSE
. Read/write.
property cannot change the Stage size for a movie that is currently playing.
, it sends the playhead to a specified frame.
FALSE
fixStageSize
Movie
fixStageSize
property to the opposite of its current setting:
property is turned on. If
flashRect
775
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