package clases{
	import flash.media.Sound;
	import flash.net.URLRequest;
	import flash.media.SoundLoaderContext;
	import flash.events.Event;
	
	public class sonido {
			
			public var son:Sound
			public var link:URLRequest
			public var bufer:SoundLoaderContext
		
		public function sonido(linkPasado:String) {
			
			bufer = new SoundLoaderContext(2000)
			link = new URLRequest(linkPasado)
			son = new Sound(link,bufer)
			son.play(0,1)			
		}
	}
	
}
