User Guide

Table Of Contents
toggleHighQuality() 43
Example
In the following example, tellTarget() controls the ball movie clip instance on the main
timeline. Frame 1 of the
ball instance is blank and has a stop() function so that it isnt
visible on the Stage. When the user presses the 5 key,
tellTarget() tells the playhead in
ball to go to Frame 2 where the animation starts.
on(keyPress "5") {
tellTarget("ball") {
gotoAndPlay(2);
}
}
toggleHighQuality()
Availability
Flash Lite 1.0.
Usage
toggleHighQuality()
Operands
None.
Description
Function; turns anti-aliasing on and off in Flash Lite. Anti-aliasing smooths the edges of
objects but slows down SWF file playback. This function affects all SWF files in Flash Lite.
Example
The following code could be applied to a button that when clicked, would toggle anti-aliasing
on and off:
on(release) {
toggleHighQuality();
}