ç·ã®å¼¾ããã â æç»ç¨ã®Spriteã¨ãã¦ã¹ã¤ãã³ãåå¾ç¨ã®Spriteãä½æãã²ãããgaphics.lineTo()ï¼ lineToã®åº§æ¨ã¯ãã¦ã¹ã¤ãã³ãåå¾ç¨ã®mouseX&mouseYãã²ããã渡ãã çµäºããããã¦ã¹ã¤ãã³ãåå¾ç¨ã¯removeChildãã¨ãã°OKã : private var remove:Sprite; // å¾ã§removeChildããããã«ã¯ã©ã¹ã¹ã³ã¼ãã§... : private function drawModeStart():void{ var drawSprite:Sprite = Sprite(addChild(new Sprite())); var mouseSprite:Sprite = Sprite(addChild(new Sprite())); remove = mouseSprite; // ãã¦ã¹ã¤ãã³ãåå¾ããªãããã®ã§
{{#tags}}- {{label}}
{{/tags}}