 			mic.setUseEchoSuppression(true); 
 		}
 		
-		private function addEventListeners():void {
-			mic.addEventListener(StatusEvent.STATUS, onMicStatus, false, 0, true);
-			micRecorder.addEventListener(RecordingEvent.RECORDING, onRecording);
-			micRecorder.addEventListener(Event.COMPLETE, onComplete);			
-		}
-		
 	}
 	
 }
    import flash.media.Microphone;
	
	import Base64;
	
	public class Recorder extends Sprite {
		
		private var muted:Boolean = true;
		private var recording:Boolean = false;
		private var mic:Microphone;
		private var wavEncoder:WaveEncoder = new WaveEncoder();
		private var micRecorder:MicRecorder = new MicRecorder(wavEncoder);

			Security.showSettings("2");
		}
		
		private function addEventListeners():void {
			addEventListener(Event.ENTER_FRAME, onEnterFrame);
			mic.addEventListener(StatusEvent.STATUS, onMicStatus, false, 0, true);
			micRecorder.addEventListener(RecordingEvent.RECORDING, onRecording);
			micRecorder.addEventListener(Event.COMPLETE, onComplete);			
		}
		
		// Methods
		public function isMuted():Boolean {
			return muted;
		}
		
		public function getActivityLevel():int {
			return mic.activityLevel;
		}
		
		public function getTime():int {
			return this.time;
		}
		
		public function getDuration():int {
			return this.duration;
		}
		
		public function getDataURL():String {
