Sprite ã®åº§æ¨ã¨ã¹ãã¼ã¸ãµã¤ãºãæ¯è¼ãã¦ãã¹ãã¼ã¸å¤ã«ã¯ã¿åºãå ´åã«ç§»åéãå転ããã ãã§ãã private function moveCircle_handler( event:Event ):void { for ( var i:Number = 0; i stage.stageWidth ) { _circle.x = stage.stageWidth - _circle.radius; _circle.vx *= -1; } // ä¸ if ( _circle.y - _circle.radius stage.stageHeight ) { _circle.y = stage.stageHeight - _circle.radius; _circle.vy *= -1; } } ã ãã« Sprite ãå¢ããã¨ãããªãã¾ãã ããã ãã ã¨å ¨ãæå³ãããã¾ããããåããçµ±å¶
{{#tags}}- {{label}}
{{/tags}}