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

		
		public function play():void
		{
			trace("play");
			if (m_status & STATUS_PAUSED_AT_END)
			{
				trace("stop first then play");
				stop();
			}
			

			// stop the mediafile
			m_status &= ~STATUS_SHOULD_PLAY;
			m_status &= ~STATUS_PAUSED_AT_END;
			
			if (m_state != STATE_PLAYING && m_state != STATE_PAUSED)
			{
				return;
