Hello people...
I'm trying to take a snapshot of a DisplayObject and set a defined
minimized size of that snapshot, but when I mess with it's size it
becomes all blurry... Here it's how I take the snapshot:

        private function takeSnapshot(comp:DisplayObject):Image {
                        var bd : BitmapData = getBitmapData( DisplayObject( 
comp ) );     
      
            var snap:Image = new Image();
            snap.source = new Bitmap (bd);
            snap.percentHeight = 20;
            snap.percentWidth = 20; 
            return (snap);
        }


I have found a PNGEncoder in corelib, but I can't find the docs... Can
anyone tell me if using the PNGEncoder will solve the blurryness
problem? And if so, how to use it?

Thanx in advanced,
DaNooB

Reply via email to