# BitmapData.draw()

**URL:** https://forum.kirupa.com/t/bitmapdata-draw/220189
**Category:** flash
**Created:** [March 23, 2007, 3:18pm UTC](https://forum.kirupa.com/t/bitmapdata-draw/220189 "2007-03-23T15:18:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![duncanhall](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@duncanhall](https://forum.kirupa.com/u/duncanhall)
#### Post date: [March 23, 2007, 3:18pm UTC](https://forum.kirupa.com/t/bitmapdata-draw/220189/1 "2007-03-23T15:18:18Z")

</div>

I’m using the BitmapData class to perform some image manipulation which involves using the _[COLOR=Blue]draw/COLOR_ [COLOR=Black]method to draw a copy of a specified movieClip into the BitmapData object. This is working as expected, but it seems that to be able to copy something into a BitmapData object, that ‘something’ must already be on the stage.

So at the moment, I have to put the original image into a movieClip, hide it off stage somewhere, then pass that movieClip as the source for the BitmapData draw() method.

Is there any way to pass a linkage\_id as the source for the draw() method, or is there any other way to copy a movieClip into Bitmapdata without the mc being on stage?

Cheers.  
[/COLOR]
