title: Flash AS3, add pause to swf loop
body: <p>I don't work in Flash very often, all I need is to add the AS to make my swf pause for a few seconds before looping. </p>
  
  <p>This used to work in AS2:</p>
  
  <pre><code> stop();
   var interval:Number = setInterval(
     function():Void {
       play();
       clearInterval(interval);
     },
     2000
   );
  </code></pre>
  
  <p>Any help is appreciated, thanks!</p>