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: frocessing1

Get Adobe Flash player
by kske 09 Nov 2009
// forked from alt's frocessing1
// write as3 code here..
package
{
    import flash.display.*;
    import frocessing.display.F5MovieClip2D;
 
    public class frocessing4 extends F5MovieClip2D
    {
        private var count:int;
 
        public function frocessing4()
        {
            stage.frameRate = 30;
            stage.align = StageAlign.TOP_LEFT;
            stage.scaleMode = StageScaleMode.NO_SCALE;
            
            
 
            super();
            QBest();
            fg.size(400,400);
        }
 
        public function draw():void
        {
            clear();
            background(255);
            
            translate(fg.width/2 + mouseX-stage.stageWidth/2, fg.height/2 + mouseY-stage.stageHeight/2); //ポジション
            fill(0, 153, 230, 0.1);
            stroke(0, 153, 230, 0.4);
            strokeWeight(0);
	    scale(1, 1); //スケール
	    rotate(0); //回転
	    color(360,100,100,0);
			
            for (var i:int = 0; i < 150; i++)
            {
		var x:Number = random(fg.width, -fg.width) * 2;
                var y:Number = random(fg.height, -fg.height) * 2;
		var r:Number = cos(radians(0));
            	    
		line(x,y,r,0);
            }
			
	count++;
        }
    }
}