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: forked from: forked from: forked from: forked from: forked from: forked from: forked from: forked from: forked from: forked from: forked from: forked from: forked from: forked from: forked from: flash on 2010-1-13

Get Adobe Flash player
by Tamanegi_kenshi 14 Feb 2010
    Embed
/**
 * Copyright Tamanegi_kenshi ( http://wonderfl.net/user/Tamanegi_kenshi )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/xGab
 */

package{
 import flash.display.Sprite;
 
 public class test extends Sprite{
 	private var counts:int =50;
 	
 	public function test(){
 		init();
 		}
 	
 	private function init():void{
 		var ball:Sprite = new Sprite();
 		var ball2:Sprite = new Sprite();
 		for(var i:Number =1;i<counts;i++){
 		var color:Number =Math.random()*0xffffff;	
 		with(ball.graphics){
 			lineStyle(1,color);
 			moveTo(0,i*10);
 			lineTo(stage.stageWidth,i*1);	
 		}
 		addChild(ball);
 		}
 		for(var j:Number =1;j<counts;j++){
 			var color2:Number =Math.random()*0xffffff;	
 		    with(ball2.graphics){
 		    	lineStyle(1,color2);
 		    moveTo(j*10,0);
 		  	lineTo(j*10,stage.stageHeight);
 			}
 		addChild(ball2);
 		}	
 	}
 	
 	}	
	
	
	
	
}