title: Flash accordion menu
body: <p>im working on a accordion menu on flash cs 6 but i dont want to do complete animation for each option beacause it takes a lot of time. i think in previous versions there was an accordion option in components but now there is not. this is what i tried for updown menu:</p>
  
  <pre><code> sub1.visible = false;
  
  sub1.addEventListener(MouseEvent.MOUSE_OVER,drop1);
  
  sub1.addEventListener(MouseEvent.MOUSE_OUT,up1);
  
  btn1.addEventListener(MouseEvent.MOUSE_OVER,drop1);
  
  btn1.addEventListener(MouseEvent.MOUSE_OUT,up1);
  
  
  function drop1(e:MouseEvent){
  
  sub1.visible = true;
  
  }
  
  function up1(e:MouseEvent){
  
  sub1.visible = false;
  
  }
  /////////////////////////////////////////
  sub2.visible = false;
  
  sub2.addEventListener(MouseEvent.MOUSE_OVER,drop2);
  
  sub2.addEventListener(MouseEvent.MOUSE_OUT,up2);
  
  btn2.addEventListener(MouseEvent.MOUSE_OVER,drop2);
  
  btn2.addEventListener(MouseEvent.MOUSE_OUT,up2);
  
  
  function drop2(e:MouseEvent){
  
  sub2.visible = true;
  
  }
  
  function up2(e:MouseEvent){
  
  sub2.visible = false;
  
  }
  </code></pre>
  
  <p>how can i make it easy? thank you for helping</p>