hi there,
in my current project i need to make some performance optimizations.
i was wondering if it is faster to draw a background with
or do theCode:var bg =new Sprite()
bg.graphics.clear()
bg.graphics.beginFill(0xff0000)
bg.graphics.drawRect(0,0,w,h)
bg.graphics.endFill();
?Code:var bg =new Bitmap(new BitmapData(w,h,false,0)
there are a lot of moving objects on top of "bg"
thanks!