 		
 		protected function mediaReachedEnd():void
 		{
-			trace("media reached end");
 			if (m_options & OPTIONS_LOOP)
 			{
-				trace("loop!");
 				stop();
 				dispatchEvent(new CommandEvent(CommandEvent.COMPLETE));
 				play();

			}
			if (m_options & OPTIONS_REVERSE_ON_COMPLETE)
			{
				trace("reverse!");
				stop();
				goIdle();
				dispatchEvent(new CommandEvent(CommandEvent.COMPLETE));
				return;
			}
			trace("pause!");
			m_status |= STATUS_PAUSED_AT_END
			pause();
			dispatchEvent(new CommandEvent(CommandEvent.COMPLETE));

		
		public function play():void
		{
			if (m_status & STATUS_PAUSED_AT_END)
			{
				stop();
			}
			
