Name

toggleHighQuality( ) Global Function — change the rendering quality of the Player

Availability

Flash 2 and later; deprecated in Flash 5 in favor of _quality

Synopsis

toggleHighQuality( )

Description

Switches between High quality and Low quality rendering. When set to High, the Flash Player renders lines with antialiased (smooth) edges. When set to Low, the Flash Player renders lines with aliased (jagged) edges. The toggleHighQuality( ) function does not take any arguments; it simply switches between the two possible settings—“High” and “Low”. This is problematic because it doesn’t explicitly set the quality to a known setting, nor does it allow for more than two different possible quality settings.

As of Flash 5, toggleHighQuality( ) has been deprecated in favor of the global _quality property, which supports Low, Medium, High, and Best rendering settings.

See Also

_highquality, _quality

Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.