# What can you do with Bitmap Data?

**URL:** https://forum.kirupa.com/t/what-can-you-do-with-bitmap-data/315857
**Category:** flash
**Created:** [November 5, 2010, 7:12pm UTC](https://forum.kirupa.com/t/what-can-you-do-with-bitmap-data/315857 "2010-11-05T19:12:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![fantasticphil](https://avatars.discourse-cdn.com/v4/letter/f/d26b3c/32.png) [@fantasticphil](https://forum.kirupa.com/u/fantasticphil)
#### Post date: [November 5, 2010, 7:12pm UTC](https://forum.kirupa.com/t/what-can-you-do-with-bitmap-data/315857/1 "2010-11-05T19:12:32Z")

</div>

Hello,

I imported a image file to my library and exported it for Actionscript. Which it created a new class that extends the bitmapdata class.

Do I create an instance of that data and pass it to a sprite and add the sprite to the stage so I can display the image when I compile the file into a swf? Ive tried that and get an error saying that I need two arguments.

I guess im just not sure what to do with the bitmapdata class.

Any help would be much appreciated.

Phil
