EasyManua.ls Logo

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

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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();
}

Table of Contents

Related product manuals