bitmapData objects reqire the two variables as they are "width" and "height",
it is pretty stupid though I agree as once the bitmapData object is created the width and height are correctlu set to the width and height of the bitmapData. I generally just go new assets.bitmapDataObject(0,0)