Lingo Dictionary > O-R > quality |
![]() ![]() ![]() |
quality
Syntax
sprite(
whichFlashSprite
).quality
the quality of sprite
whichFlashSprite
member(
whichFlashMember
).quality
the quality of member
whichFlashMember
Description
Flash cast member and sprite property; controls whether Director uses anti-aliasing to render a Flash movie sprite, producing high-quality rendering but possibly slower movie playback. The quality
property can have these values:
![]() |
|
![]() |
|
![]() |
|
![]() |
|
The quality
property can be tested and set.
Example
This sprite script 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 quality of the sprite in channel 5 to #low
.
on beginSprite me if the colorDepth <= 8 then sprite(1).quality = #low end if end
![]() ![]() ![]() |