Как написать, что бы по умолчанию ширина и высота битмапа была равной ширине и высоте клипа
width = (!isNaN(width) && width>0) ? width :// ?;

Код:
import flash.display.BitmapData;
class BitmapUtils {
public static function movieclipToBitmap(linkageID:String, attacher:String, target:MovieClip, position_x:Number, position_y:Number, width:Number, height:Number) {
attacher == undefined ? attacher : "bitmap_mc";
target == undefined ? target : _level;
position_x == undefined ? position_x : 0;
position_y == undefined ? position_y : 0;
width = (!isNaN(width) && width>0) ? width : //?;
height = (!isNaN(height) && height>0) ? height : //?;
var container:MovieClip = target.createEmptyMovieClip(attacher, target.getNextHighestDepth());
container._x = position_x;
container._y = position_y;
container.attachMovie(linkageID, "temp_movie", container.getNextHighestDepth());
var bitmap:BitmapData = new BitmapData(width, height, true, 0x00000000);
bitmap.draw(container);
container.attachBitmap(bitmap, 0);
}
}