Height (Movieclip._Height Property); Highquality (Movieclip._Highquality Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

_height (MovieClip._height property)

public _height : Number
The height of the movie clip, in pixels.
Availability: ActionScript 1.0; Flash Player 4
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);
The
MovieClip.getNextHighestDepth()
7 or later. If your SWF file includes a version 2 component, use the version 2 components
DepthManager class instead of the
The MovieClipLoader class used in this example requires Flash Player 7 or later.
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 smooths bitmaps if the SWF file does not contain animation. Specify 0 (low
quality) to prevent anti-aliasing. This property can overwrite the global
property.
Availability: ActionScript 1.0; Flash Player 6
878
ActionScript classes
MovieClip.getNextHighestDepth()
.
method used in this example requires Flash Player
method.
_highquality

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF