Am I the only one who didn’t know this?
- You load an image by using a Loader
- You transform the image in any way and it gets disorted
I always used to make the image ‘smooth’ by repacing it’s BitmapData with another BitmapData that has the ‘smoothing’ property set to true.
But today I found out that you can also set the property directly, to the existing BitmapData:
myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,function(e:Event):void {
e.target.content.smoothing = true;
});