title: Two event listeners doing the same thing (ActionScript 3)
body: <p>Both of my event listeners are going to the same frame, all answers are appreciated.</p>
  
  <p>stop();</p>
  
  <pre><code>addEventListener(MouseEvent.CLICK, enterGameClick);
  function enterGameClick (event:MouseEvent) {
  if (enterGame.alpha == 1){
      gotoAndPlay(4);
      removeEventListener(MouseEvent.CLICK, enterGameClick);
  }
  else if (creditsButton.alpha == 1) {
      gotoAndPlay(3);
      removeEventListener(MouseEvent.CLICK, enterGameClick);
  }
  }
  </code></pre>
  
  <p>Also, is there any way of selecting an object without having to use identification like alpha?</p>