title: Flash AS3 toggle visible
body: <p>i have a script that once clicked ( a button ) some other thing hides then once clicked again it re-shows. the problem is once hidden it never shows again here is the script:</p>
  
  <pre><code>menu_start.addEventListener(MouseEvent.CLICK, myClickFunction);
  
  
  function myClickFunction(event:MouseEvent) {
  
        // Hide the first and show the next here
        if (menu_menu.visible == true){
        menu_menu.visible = false;
  
        } 
        if (menu_menu.visible == false) {
            menu_menu.visible == true;
        }
  
  }
  </code></pre>
  
  <p>Thanks so much.</p>