EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Togglehighquality Function

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 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...
108 ActionScript language elements
The following example uses dot (.) notation to achieve the same results:
on(release) {
_parent.ball.gotoAndPlay(2);
}
If you need to issue multiple commands to the ball instance, you can use the with action, as
shown in the following statement:
on(release) {
with(_parent.ball) {
gotoAndPlay(2);
_alpha = 15;
_xscale = 50;
_yscale = 50;
}
}
See also
with statement
toggleHighQuality function
toggleHighQuality()
Deprecated since Flash Player 5. This function was deprecated in favor of _quality.
Turns anti-aliasing on and off in Flash Player. Anti-aliasing smooths the edges of objects and
slows down SWF playback. This action affects all SWF files in Flash Player.
Availability: ActionScript 1.0; Flash Player 2
Example
The following code could be applied to a button that, when clicked, would toggle anti-
aliasing on and off:
on(release) {
toggleHighQuality();
}
See also
,
_quality property

Table of Contents

Related product manuals