for (var i:uint = 0; i < 50000;i++){ graphics.clear(); graphics.beginBitmapFill(bm10); graphics.drawRect(0, 0, 100, 100); graphics.endFill(); }