Togglehighquality() - MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 1.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Example
In the following example,
timeline. Frame 1 of the
visible on the Stage. When the user presses the 5 key,
to go to Frame 2 where the animation starts.
ball
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();
}
controls the
tellTarget()
instance is blank and has a
ball
movie clip instance on the main
ball
function so that it isn't
stop()
tells the playhead in
tellTarget()
toggleHighQuality()
43

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

Table of Contents