flash on 2009-5-25
    
  /**
 * Copyright tomohero ( http://wonderfl.net/user/tomohero )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/vHMx
 */
package{
    import flash.display.Sprite;
    import flash.events.MouseEvent;
    import com.flashdynamix.motion.Tweensy;
    
    public class Anime2 extends Sprite{
        public function Anime2():void{
            stage.addEventListener("mouseMove",eventHandler);            
        }                    
    
        private function eventHandler(event:MouseEvent):void{
            var s:Sprite = new Sprite();
            s.graphics.beginFill(Math.random()*0x1000000);
            s.graphics.drawCircle((Math.random()*20)-(Math.random()*20),(Math.random()*20)-(Math.random()*20),Math.random()*4);
            s.graphics.endFill();
            addChild(s);
            s.x = event.stageX;
            s.y = event.stageY;
            Tweensy.to(s,{scaleX:4,scaleY:4},1);
        }
    }                
}