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

frocessing2

Get Adobe Flash player
by alt 20 Dec 2008
    Embed
// forked from alt's code on 2008-12-18
// write as3 code here..

package
{
    import flash.display.*;
    import frocessing.display.F5MovieClip2D;
 
    public class frocessing1 extends F5MovieClip2D
    {
        private var count:int = 50;
	private var addNum:int = 1;
 
        public function frocessing1()
        {
            stage.frameRate = 30;
            stage.align = StageAlign.TOP_LEFT;
            stage.scaleMode = StageScaleMode.NO_SCALE;
 
            super();
            QBest();
        }
 
        public function draw():void
        {
            clear();
            
            size(500, 500);
	    colorMode(HSB, 360, 100, 100, 100);
	    background(0,0,0,100);
	    noStroke();
	    fill(210,100,100,10);
	    translate(0, 0);
	    	
	    var ellipse_size:int = 400; 
	    var left:int = 250; 
	    var top:int = 250;
	    	
	    //同心円を描いて行く 
	    for(var i:int = 0; i < 16; i++)
	    {
	    	ellipse(left, top, ellipse_size, ellipse_size); 
	    	ellipse_size = ellipse_size - count + mouseX/10; 
	    }
	    	
	    if (count > 100) addNum = -2;
	    else if (count < 50) addNum = 2;
	    
	    count += addNum;
        }
    }
}