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 isn’t
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();
}
Содержание FLASH 8-FLASH
Страница 1: ...Flash Lite 1 x ActionScript Language Reference...
Страница 6: ...6 Contents...
Страница 46: ...46 Flash Lite Global Functions...
Страница 62: ...62 Flash Lite Properties...
Страница 76: ...76 Flash Lite Statements...
Страница 110: ...110 Flash Lite Operators...
Страница 162: ...162 Index...