In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

forked from: ゆるふわフィルターかけっこTweensy版

// forked from ysformen's ゆるふわフィルターかけっこTweensy版
package {
	import com.flashdynamix.motion.*;
	import fl.motion.easing.*;
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	import flash.filters.BlurFilter;
	import flash.filters.DropShadowFilter;
	public class progression extends Sprite
	{
		private var tween:TweensyTimeline;
		public function progression()
		{
			stage.addEventListener(MouseEvent.MOUSE_MOVE, clickMove);
		}
		
		private function clickMove(event:MouseEvent):void{
			var s:Sprite = new Sprite();
			s.graphics.beginFill(0x1000000 * Math.random(),Math.random());
			s.graphics.drawRoundRect(0,0,20,20,30,40);
			s.graphics.endFill();
			var myFilters:Array = new Array(new BlurFilter( 8, 8));
			var myFil:Array = new Array(new DropShadowFilter(4,45,Math.random(),0.5,4,4));
                        s.filters = myFilters;
			//s.filters = myFil;
			addChild(s);
			s.x = event.stageX;
			s.y = event.stageY;
			
			tween = Tweensy.to(s, {scaleX:3, scaleY:3}, 1, Sine.easeInOut);
			tween = Tweensy.to(s, {x:stage.width * Math.random(), y:stage.height * Math.random()}, Math.random() * 2 , Back.easeInOut);
			tween.onComplete = function():void{
				removeChild(s);
			}

		}
	}
}