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: flash on 2010-5-12

Get Adobe Flash player
by yasu 12 May 2010
    Embed
/**
 * Copyright yasu ( http://wonderfl.net/user/yasu )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/hbow
 */

// forked from yasu's flash on 2010-5-12
package {
	import flash.display.Sprite;
	import fl.transitions.Tween;
    import fl.transitions.easing.*;
    public class FlashTest extends Sprite {
    		private const SW:Number = stage.stageWidth;
    		private const SH:Number = stage.stageHeight;
        public function FlashTest() {
			var circle:Circle = new Circle();
			circle.y = SH/2;
			addChild(circle);
			new Tween(circle, "x", Elastic.easeOut, 0, SW/2, 3, true);
        }
    }
}
import flash.display.Shape;
class Circle extends Shape {
	public function Circle():void {
		graphics.beginFill(0xff0000);
		graphics.drawCircle(0,0,50);
		graphics.endFill();
	}
}