quality

Syntax: the quality of sprite whichFlashSprite
the quality of member whichFlashMember
Type: Cast member and sprite property
Description: This property controls whether a Flash movie sprite is rendered using anti-aliasing. Anti-aliasing produces high-quality rendering, but the disadvantage is that it can slow down playback of the movie. The quality property can have these values:
#autoHigh Director will start by rendering the sprite with anti-aliasing. If the actual frame rate falls below the movie's specified frame rate, Director turns off anti-aliasing. This setting places a priority on playback speed as opposed to visual quality.
#autoLow Director will start by rendering the movie without anti-aliasing. If the Flash player determines that the computer processor can handle it, anti- aliasing is turned on. This setting places a priority on visual quality whenever possible.
#high The movie always plays with anti-aliasing.
#low The movie always plays without anti-aliasing.
The quality property can be tested and set. The default setting is #high.
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
		set the quality of sprite 1 = #low
	end if
end


Previous | Next