ActionScript 3.0 ãBitmapData.draw() ã§èæ¯ãéæã«ããã«ã¯ã第3å¼æ°ã第4å¼æ°ããè¨å®ããªãã¨ãããªãã import flash.display.Bitmap; import flash.display.BitmapData; var w:Number = stage.stageWidth; var h:Number = stage.stageHeight; //第1å æ°ãæ¨ªå¹ ã第2å æ°ãç¸¦å¹ ã第3å¼æ°ãéæ度ãé©ç¨ãããå¦ãã第4å¼æ°ãéæ度ãå«ããèæ¯è²ï¼ARGBï¼ var bmp:BitmapData=new BitmapData(w, h, true, 0x00ffffff); bmp.draw(MC);//ã³ãã¼ããMC this.addChild(new Bitmap(bmp));//ã¹ãã¼ã¸ã«è¡¨ç¤º ä½æããBitmapãã¼
{{#tags}}- {{label}}
{{/tags}}