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

flash on 2010-1-29

Get Adobe Flash player
by Altschuler 29 Jan 2010
/**
 * Copyright Altschuler ( http://wonderfl.net/user/Altschuler )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/r2io
 */

package {
    import flash.display.Sprite;
    import flash.events.Event;
    public class FlashTest extends Sprite {
    	 private var n : Number = 0;
		private const r : Number = 200;
        public function FlashTest() {
           
			stage.addEventListener(Event.ENTER_FRAME, draw);
		}

		private function draw(event : Event) : void
		{
			graphics.clear();
			graphics.lineStyle(1,0,.5);
			graphics.moveTo(r,r);
			
			for (var i : int = 0;i < r; i += 1) 
				graphics.lineTo(r + (i * Math.cos(i + (i * n))), r + (i * Math.sin(i + (i * n))));
				
			n += .001;
		}
            
        }
    }