![MACROMEDIA Flash Lite 2 Скачать руководство пользователя страница 479](http://html1.mh-extra.com/html/macromedia/flash-lite-2/flash-lite-2_reference_687553479.webp)
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." X "+target_mc."
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
Содержание Flash Lite 2
Страница 1: ...Flash Lite 2 x ActionScript Language Reference...
Страница 22: ...22 Contents...
Страница 244: ...244 ActionScript language elements...
Страница 760: ...760 ActionScript classes...