MC(ã¨ãããDisplayObject)ã®ã¹ãããã·ã§ãããBitmapDataã¨ãã¦åãæ¹æ³ãèªåãªãã«ã¡ã¢ãã¾ã var spt :Sprite = new Niku() as Sprite; // ãªã³ã±ã¼ã¸ã§çæãã表示ã¯ã©ã¹ var bmp:BitmapData = new BitmapData( spt.width, spt.height ); bmp.draw( spt ); addChild( new Bitmap( bmp ) ); åºæ¬çã«ã¯ããã§ã¹ã¯ãªã¼ã³ã·ã§ããã¨ãã¦åå¾ããBitmapDataã表示ãããã¨ãã§ãã¾ã ã§ãããããåç¹ãä¸èº«ã®è¡¨ç¤ºãªãã¸ã§ã¯ãã«å¯¾ãã¦å·¦ä¸ã«æ¥ãªãå ´åãããã¾ãã ããããã¨ãã BitamapData.drawãã¦ãåãã¦ãã¾ãã¾ãã ããã解æ¶ããã®ã次ã®ã³ã¼ãã DisplayObject.getRectã§å¯¾è±¡ã®è¡¨ç¤ºãªãã¸ã§
{{#tags}}- {{label}}
{{/tags}}