I do a lot of things with Bitmap‘s, especially reusing a single Bitmap object and updating its bitmapData. I was in the middle of some UI work and was baffled to why some of my Bitmap‘s were smooth and some were not after setting smoothing to true. I noticed that if you change the bitmapData property, the Bitmap will lose its smoothing and pixelSnapping values for no reason! Fortunately there’s an obvious fix:
var smoothing:Boolean = bitmap.smoothing; var pixelSnapping:String = bitmap.pixelSnapping; bitmap.bitmapData = bitmapData; bitmap.smoothing = smoothing; bitmap.pixelSnapping = pixelSnapping;
Hopefully someone updates the API to reflect this little gotcha.
Perhaps you should lodge a bug report?
Also: Hello! Amazing what you find when data mining.
There’s a report for it, but this still affects all the poor people with Flash 9