var bm:Bitmap = new Bitmap(bd0,"auto",true); bm.x = -(bm.width / 2); bm.y = -(bm.height / 2); bm.smoothing = true; entity.addChild( bm );