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!
var levelBitmapData:BitmapData=new BitmapData(1300,450,true,0x00FFFFFF);
levelBitmapData.draw(mapLoader);
bitmapLevel=new Bitmap(levelBitmapData);
gameLevel.addChild(bitmapLevel);