I have a MovieClip with an irregular shape and colored with one color, and I want to fill it with a BitmapData. I've tried:
var mc : MovieClip = this.getChildByName("mc_test") as MovieClip;
mc.graphics.beginBitmapFill(new BitmapDataFill());
mc.graphics.drawRect(0, 0, mc.width, mc.height);
mc.graphics.endFill();
Is there an easy way to apply the BitmapData to the MovieClip?