我有一个不规则形状的MovieClip,并用一种颜色着色,我想用BitmapData填充它。我试过了:
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();
是否有一种简单的方法将BitmapData应用于MovieClip?