# Loading an external image into bitmap data

**URL:** https://forum.kirupa.com/t/loading-an-external-image-into-bitmap-data/318413
**Category:** flash
**Created:** [January 19, 2011, 12:14pm UTC](https://forum.kirupa.com/t/loading-an-external-image-into-bitmap-data/318413 "2011-01-19T12:14:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)
#### Post date: [January 19, 2011, 12:14pm UTC](https://forum.kirupa.com/t/loading-an-external-image-into-bitmap-data/318413/1 "2011-01-19T12:14:00Z")

</div>

hi there … I want to turn an image into bitmapData, which isnt in the library.

```auto
var theImage:BitmapData = BitmapData.loadBitmap("libraryImg");

```

…is how it works from the library…  
but I need to load an external file.  
I think it has something to do with ‘draw’

anyone shine some light?
