title: How do I make a looping moviescript finish before stopping it?
body: <p>I'm animating a leaking object where water drops are falling down. I want the leaking to stop as soon as I click on a different object. When I use stop(); it just stops and the water drops are stuck in the air. Of course I don't want this, how do I fix it?</p>
  
  <pre><code>Bloempoteetkamer.addEventListener(MouseEvent.CLICK, rotplanteetkamer);
  
  Bloempoteetkamer.buttonMode=true;
  Bloempoteetkamer.mouseChildren=false;
  
  function rotplanteetkamer(evt:MouseEvent){
      Planteetkamer.play()
      Druppel.stop()
      Bloempoteetkamer.removeEventListener(MouseEvent.CLICK, rotplanteetkamer);
      Bloempoteetkamer.buttonMode=false;
      stop();
  }
  </code></pre>
  
  <p>Bloempoteetkamer is the object that you have to click to stop the leaking.
  Druppel is the waterdroplets that are falling down.
  Planteetkamer is a different moviescript that plays when I click on Bloempoteetkamer.</p>