EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Highquality (Movieclip._Highquality Property)

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 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...
MovieClip 479
Example
The following code example displays the height and width of a movie clip in the Output
panel:
this.createEmptyMovieClip("image_mc", this.getNextHighestDepth());
var image_mcl:MovieClipLoader = new MovieClipLoader();
var mclListener:Object = new Object();
mclListener.onLoadInit = function(target_mc:MovieClip) {
trace(target_mc._name+" = "+target_mc._width+" X "+target_mc._height+"
pixels");
};
image_mcl.addListener(mclListener);
image_mcl.loadClip("example.jpg", image_mc);
See also
_width (MovieClip._width property)
_highquality (MovieClip._highquality property)
public _highquality : Number
Deprecated since Flash Player 7. This property was deprecated in favor of
MovieClip._quality.
Specifies the level of anti-aliasing applied to the current SWF file. Specify 2 (best quality) to
apply high quality with bitmap smoothing always on. Specify 1 (high quality) to apply anti-
aliasing; this will smooth bitmaps if the SWF file does not contain animation. Specify 0 (low
quality) to prevent anti-aliasing. This property can overwrite the global
_highquality
property.
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following ActionScript specifies that best quality anti-aliasing should be applied to the
SWF file.
my_mc._highquality = 2;
See also
_quality (MovieClip._quality property), _quality property

Table of Contents

Related product manuals