# Easy Question... How do I get rid of this bitmap?

**URL:** <https://forum.kirupa.com/t/easy-question-how-do-i-get-rid-of-this-bitmap/267069>\
**Category:** Uncategorized\
**Created:** [July 28, 2008, 12:29pm UTC](https://forum.kirupa.com/t/easy-question-how-do-i-get-rid-of-this-bitmap/267069 "2008-07-28T12:29:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DesignerMichael](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Post date:** [July 28, 2008, 12:29pm UTC](https://forum.kirupa.com/t/easy-question-how-do-i-get-rid-of-this-bitmap/267069/1 "2008-07-28T12:29:10Z")

</div>

For the life of me I can’t figure out how to get rid of this bitmap… been trying gameLevel.removeChild(bitmapLevel) and clear()… Cant figure it out!

When a user changes maps, two maps are on top of each other… Gotta remove the old one!

```auto

var levelBitmapData:BitmapData=new BitmapData(1300,450,true,0x00FFFFFF);
levelBitmapData.draw(mapLoader);
bitmapLevel=new Bitmap(levelBitmapData);
gameLevel.addChild(bitmapLevel);

```
