i need some help. I am loading some bitmaps(transparent pngs) that i want to scale and remain smooth. we all know the problems with flash player 8+ anti-aliasing the images and not allowing the images to be forced to be smoothed.
before i get to the code, here is my problem. i want the png to retain its transparency. I use flash8 actionscript 2. Do you can help me? Here is the code
var mclis:Object = new Object();
//An object that listens for a callback notification from the MovieClipLoader event handlers.
mclis.onLoadInit = function(target_mc:MovieClip) {
thisHeightInit = target_mc._height;
thisWidthInit = target_mc._width;
// action for smoothed bitmap
var bitmap:BitmapData = new BitmapData(target_mc._width, target_mc._height, true);
target_mc.attachBitmap(bitmap, target_mc.getNextHighestDepth(), "auto", true);
bitmap.draw(target_mc);
// end action for smoothed bitmap
calculateProportion(target_mc);
};