User Guide
Chapter 374
animationEnabled
Syntax
member(whichCastmember).animationEnabled
Description
3D cast member property; indicates whether motions will be executed (TRUE) or ignored (FALSE).
This property can also be set in the Property inspector.
The default value for this property is
TRUE.
Example
This statement disables animation for the cast member named Scene.
member("Scene").animationEnabled = FALSE
antiAlias
Syntax
member(whichMember).antiAlias
sprite(whichVectorSprite).antiAlias
Description
Cast member property; controls whether a text, Vector shape, or Flash cast member is rendered
using anti-aliasing to produce high-quality rendering, but possibly slower playback of the movie.
The
antiAlias property is TRUE by default.
For vector shapes,
TRUE is the equivalent of the #high quality setting for a Flash asset, and FALSE
is the equivalent of
#low.
The
antiAlias property may also be used as a sprite property only for Vector shape sprites.
This property can be tested and set.
Example
This behavior checks the color depth of the computer on which the movie is playing. If the color
depth is set to 8 bits or less (256 colors), the script sets the
antiAlias property of the sprite to FALSE.
property spriteNum
on beginsprite me
if the colorDepth <= 8 then
sprite(spriteNum).antiAlias = FALSE
end if
end
See also
antiAliasThreshold, quality
antiAliasingEnabled
Syntax
sprite(whichSprite).antiAliasingEnabled
Type
3D sprite property.