views:

49

answers:

1

When rotating a bitmap with actionscript, the edges are jagged and not properly anti-aliased.

How do you force anti-aliasing of the bitmap ?

this.stage.quality = StageQuality.BEST; // Tried this, but seems useless 
var imgFromLib = new imgFromLib ();
imgFromLib.rotation = 30;
A: 

imgFromLib should be castable to Bitmap; Bitmap has smoothing and pixelSnapping properties. Maybe this helps.

alxx
imgFromLib is actually a MovieClip and I can't change it to Bitmap because of other implementations...
Run CMD
Eventually solved it with smoothing = true ... thanks
Run CMD