Image smoothing in Flash Actionscript 2
In order to have a smooth sharp crisp image / photos display in your Flash movie you could use the forceSmoothing property of movieclips.
You must set this property to true only after the image is loaded.
Here's an example:
createEmptyMovieClip("imageMC", 0);
var loadListener:Object = new Object();
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(loadListener);
mcLoader.loadClip(imageURL, imageMC);
loadListener.onLoadInit = function () {
imageMC.forceSmoothing = true;
}









OMG. You save my day!!! Thx man!!!
tanq u…
good, i did not know that, and i was wonder how smooth option allowed on jpeg but not dynamically or with code!., i was making workaround like apply Blur filter on BitmapData object :-).
Thanks, will try this now.
Nice. I didn’t know that
cool, thx !!!!