title: How do I make a action over ride multiple other actions if they are being called?
body: <p>I am working on an interactive map.</p>
  
  <p>When each country is tapped a information box tweens into view and then after a delay of 5 seconds tweens out again. This all works fine.</p>
  
  <pre><code>//Algeria
  
      algeria_mc.addEventListener (MouseEvent.CLICK, showAlgeria)
      function showAlgeria (e:MouseEvent)
      {
  
              TweenLite.to(algeria_txt, 1, {autoAlpha:1});
              OverwriteManager.init(2);
              TweenLite.to(algeria_txt, 1, {autoAlpha:0, delay:5});   
  
      }
  
  
  
  
  //Bahrain
      bahrain_mc.addEventListener (MouseEvent.CLICK, showBahrain)
      function showBahrain (e:MouseEvent)
      {
  
          TweenLite.to(bahrain_txt, 1, {autoAlpha:1});
          OverwriteManager.init(2);
          TweenLite.to(bahrain_txt, 1, {autoAlpha:0, delay:5});
  
      }
  </code></pre>
  
  <p>But if someone select another country before the end of the delay i get an over lapping of text boxes.</p>
  
  <p>I want a short way of saying if any other country text box is visible, make this invisible first then make the one selected visible. I don't want to have to refer to each country as there is over twenty of them. </p>
  
  <p>Is there a short way to do this? I have put all the countrys in an array </p>
  
  <pre><code>var countrys_txt:Array =[algeria_txt, bahrain_txt, cote_txt, dubai_txt, dubai_txt, ghana_txt, iran_txt, jordan_txt, kenya_txt, kuwait_txt, libya_txt, oman_txt, safrica_txt, palestine_txt, mauritius_txt, qatar_txt, saudi_txt, sudan_txt, syria_txt, tunisia_txt, turkey_txt, yemen_txt, nigeria_txt];
  </code></pre>
  
  <p>and thought maybe i could call on this? </p>
  
  <p>Whats the best quick solution please? </p>