# Bitmapdata.draw on Loader

**URL:** <https://forum.kirupa.com/t/bitmapdata-draw-on-loader/234897>\
**Category:** Uncategorized\
**Created:** [August 7, 2007, 1:29am UTC](https://forum.kirupa.com/t/bitmapdata-draw-on-loader/234897 "2007-08-07T01:29:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unikrl8](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/unikrl8/32/548_2.png) [@unikrl8](https://forum.kirupa.com/u/unikrl8)\
**Post date:** [August 7, 2007, 1:29am UTC](https://forum.kirupa.com/t/bitmapdata-draw-on-loader/234897/1 "2007-08-07T01:29:10Z")

</div>

```auto
            
var l=new Loader();
l.load(new URLRequest("test.jpg"));
var b = new BitmapData(400,300);
b.draw(l);

```

When I do addChild(l) it shows the image, so that is working properly.

What’s wrong with this? The BitmapData keeps coming back as all-white.
