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

Graphics04

Get Adobe Flash player
by 178ep3 20 Dec 2009
    Embed
/**
 * Copyright 178ep3 ( http://wonderfl.net/user/178ep3 )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/iRny
 */

package
{
	import flash.display.Shape;
	import flash.display.Sprite;

	public class SampleGraphics extends Sprite
	{
		public function SampleGraphics()
		{
			var i:uint=0;
			var q:Number=0;
			for(i=0; i<4; i++)
			{
				var shape:Shape = addChild(new Shape())as Shape;
				shape.x = shape.y = 233.5;
				shape.rotation = i*90;
				var _x:Number=150;
				var _y:Number=50;
				for(q=0; q<100; q++)
				{
					shape.graphics.lineStyle(1,0,0.4);
					shape.graphics.drawEllipse(0,0,_x,_y);
					shape.graphics.endFill();
					_x--;
					_y++;
				}	
			}
		}
		
	}
}