溢れる想い、もう誰にも止められない。
[swf]/blog/wp-content/uploads/2008/10/GravMain.swf, 550, 400[/swf]
package { import flash.display.Sprite; import flash.events.Event; public class GravMain extends Sprite { public function GravMain() { init(); } private function init():void { stage.addEventListener(Event.ENTER_FRAME, onLoop, false, 0, true); } private function onLoop(e:Event):void { var gravBall:GravBall = new GravBall(); gravBall.x = stage.stageWidth / 2; gravBall.y = stage.stageHeight / 2; gravBall.alpha = 0.85; addChild(gravBall); } } }