//メインタイムラインのフレームアクション
			import flash.display.BitmapData;
			this._mc = this.createEmptyMovieClip("bm_mc",100);
			this._mc._x = 18;
			this._mc._y = 50;
			this._bmd = new BitmapData(120,140,true,0x99FF0000);
			this._mc.attachBitmap(_bmd,100);
			this._btn.onRelease = function(){
			 _txt.text = "変更前:\n";
			 xShowBitmapInfo();
			 _bmd.width = 200;
			 _bmd.height = 160;
			 _bmd.rectangle = !_bmd.rectangle;
			 _txt.text += "変更後:\n";
			 xShowBitmapInfo();
			};
			function xShowBitmapInfo(){
			 _txt.text += " width:" + _bmd.width + "\n";
			 _txt.text += " height:" + _bmd.height + "\n";
			 _txt.text += " transparent:" + _bmd.transparent + "\n";
			 _txt.text += " rectangle:\n  " + _bmd.rectangle + "\n";
			}
			
※.このサンプルはActionScript2.0でパブリッシュする必要があります。