# 'Attached' bitmap cannot be zoomed too far?

**URL:** <https://forum.kirupa.com/t/attached-bitmap-cannot-be-zoomed-too-far/229704>\
**Category:** flash\
**Created:** [June 19, 2007, 4:32pm UTC](https://forum.kirupa.com/t/attached-bitmap-cannot-be-zoomed-too-far/229704 "2007-06-19T16:32:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![markmclaren](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@markmclaren](https://forum.kirupa.com/u/markmclaren)\
**Post date:** [June 19, 2007, 4:32pm UTC](https://forum.kirupa.com/t/attached-bitmap-cannot-be-zoomed-too-far/229704/1 "2007-06-19T16:32:24Z")

</div>

I’m finding there’s a limit on scaling a bitmap which has been attached to MovieClip using its attachBitmap method. For example, this will work correctly (shows a green and red square)…

import flash.display.BitmapData;  
import flash.geom.Rectangle;

var bmp:BitmapData = new BitmapData(2000, 2000, false, 0x00CCCCCC);  
bmp.fillRect(new Rectangle(0, 0, 10, 10), 0x00FF0000);  
bmp.fillRect(new Rectangle(10, 10, 10, 10), 0x0000FF00);  
\_root.attachBitmap(bmp, \_root.getNextHighestDepth());  
\_root.\_xscale = 409.59;  
\_root.\_yscale = 409.59;

But changing 409.59 to 409.6 for the scale makes the image disappear!

Is this a bug? Anyone seen it documented anywhere or know a workaround?

Thanks

Mark
