How do i tile image horizontally (end efficiently)

hi,

I have an image (grass pattern) that i would like to dynamically tile on stage:

the image located in library and exported to AS
code:


    var bmd:BitmapData = new grass(width, height);
    this.graphics.beginBitmapFill(bmd);
    this.graphics.drawRect(0, 400, stage.stageWidth, stage.stageHeight);
    this.graphics.endFill();


the problem with this code it draws a rectangle, and i like to tile the image horizontally.
is there a drawLine command like?, I couldn’t find any.
is there more efficient way to it?
thx,
daniel