title: Set a button to invisible once clicked
body: <p>I'm trying to set a button to invisible in AS3 however when the I leave the frame and come back to it the button is visible again. This is for a jeopardy game I make making for comm tech class.</p>
  
  <p>Here is what I currently have:</p>
  
  <pre><code>a1.addEventListener(MouseEvent.CLICK, a1mouseClick); 
  
  function a1mouseClick(mouse:MouseEvent) {
      a1.visible = false;
      gotoAndStop("A1");
      trace("Going to A1");
  }
  </code></pre>
  
  <p>however when it comes back to the frame with the a1 button it is visible again.</p>
  
  <p>Here is my current animation: <a href="https://dl.dropbox.com/u/23938245/jeporady.fla" rel="nofollow">https://dl.dropbox.com/u/23938245/jeporady.fla</a></p>