# attachBitmap and zooming - image quality help

**URL:** <https://forum.kirupa.com/t/attachbitmap-and-zooming-image-quality-help/306371>\
**Category:** flash\
**Created:** [March 14, 2010, 8:46am UTC](https://forum.kirupa.com/t/attachbitmap-and-zooming-image-quality-help/306371 "2010-03-14T08:46:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr\_flash\_fin](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@mr\_flash\_fin](https://forum.kirupa.com/u/mr_flash_fin)\
**Post date:** [March 14, 2010, 8:46am UTC](https://forum.kirupa.com/t/attachbitmap-and-zooming-image-quality-help/306371/1 "2010-03-14T08:46:09Z")

</div>

Hi there,  
I’m using BitmapData to duplicate a mc.

import flash.display.\*;  
function duplicateMC(mc:MovieClip, mc2:MovieClip) {  
var mcBMP:BitmapData = new BitmapData(mc.\_width, mc.\_height, true, 0x00FFFFFFFF);  
mcBMP.draw(mc);  
mc2.attachBitmap(mcBMP, this.getNextHighestDepth());  
}

duplicateMC(mc\_container.mc\_loader, mc\_container.mc\_loader\_bitmap);

The movie clip I am duplicating loads in another movie clip swf.  
This works well, but the bitmap duplication of the movie clip is jaggered and pixelated - this also needs to zoom in.  
I am using Actionscipt 2.  
Having searched around, I am aware of:

forcedSmoothing  
and  
mc.\_quality = “BEST”  
Neither of these seems to be the answer - any advice would be much appreciated.

Best  
Fin
