User Guide
568
saveMovie
Syntax
saveMovie {pathName&fileName}
Description
Command; saves the current movie. Including the optional parameter saves the movie to the file
specified by pathName:fileName. This command does not work with compressed files. The
specified filename must include the .dir file extension.
The
saveMovie command doesn’t support URLs as file references.
Example
This statement saves the current movie in the Update file:
saveMovie the moviePath & "Update.dir"
See also
@ (pathname), setPref
scale
Syntax
member(whichCastMember).scale
the scale of member whichCastMember
sprite(whichSprite).scale
the scale of sprite whichSprite
Description
Cast member property and sprite property; controls the scaling of a QuickTime, vector shape, or
Flash movie sprite.
For QuickTime, this property does not scale the sprite’s bounding rectangle or the sprite’s
controller. Instead, it scales the image around the image’s center point within the bounding
rectangle. The scaling is specified as a Director list containing two percentages stored as float-
point values:
[xPercent, yPercent]
The xPercent parameter specifies the amount of horizontal scaling; the yPercent parameter
specifies vertical scaling.
When the sprite’s
crop property is set to TRUE, the scale property can be used to simulate zooming
within the sprite’s bounding rectangle. When the sprite’s
crop property is set to FALSE, the scale
property is ignored.
This property can be tested and set. The default value is [1.0000,1.0000].
For Flash movie or vector shape cast members, the scale is a floating-point value. The movie is
scaled from its origin point, as specified by its
originMode property.
Note: This property must be set to the default value if the scaleMode property is set to #autoSize; otherwise the
sprite does not display correctly.