package{
	import flash.display.MovieClip;
	import flash.events.Event;
	import flash.events.TimerEvent;
	import flash.utils.Timer;
	
	public class skyspawn extends MovieClip{
		
		public function skyspawn(){
			addEventListener(Event.ADDED_TO_STAGE, onadd);
		}
		private function onadd(event:Event){
			var teller:Number = 0;
			while (teller < 20){
				var nysky:MovieClip = new sky;
				addChild(nysky);
				teller++;
			}
		}
		
	}//ENDCLASS
}//ENDPACKAGE
				
