■ ムービークリップやテキストの外観をビットマップイメージとして描画するには
//メインタイムラインのフレームアクション
import
flash.display.BitmapData;
import
flash.geom.Matrix;
import flash.geom.ColorTransform;
this._mc = this.createEmptyMovieClip("bm_mc",100);
this._mc._x = 20;
this._mc._y = 50;
this._bmd = new BitmapData(280,140,true,0x66FF0000);
this._mc.attachBitmap(_bmd,100);
this._btn.onRelease =
function(){
var theMatrix = new Matrix();
theMatrix.rotate(30 /
180 * Math.PI);
theMatrix.scale(2.3,1.5);
theMatrix.translate(42,-15);
var theColTrans = new
ColorTransform();
theColTrans.alphaMultiplier
= 0.8;
_bmd.draw(target_mc,theMatrix,
theColTrans,"normal",_bmd.rectangle);
};
※.このサンプルはActionScript2.0でパブリッシュする必要があります。

