title: OpenFL animation in preloader always stutters first time
body: <p>Im using the built in NMEPReloader as my base class for my preloader in openfl.</p>
  
  <p>What Im doing is playing an animation frame by frame </p>
  
  <pre><code>class AttractAnimation extends Sprite
  {
  var currentFrame:Int;
  var previousFrame:Int;
  var bitmapFrames:Array&lt;Bitmap&gt;;
  var loadScreenTimer:Timer;
  
  public function new()
  {
      super();
      currentFrame = 0;
      previousFrame = -1;
      bitmapFrames = new Array&lt;Bitmap&gt;();
  }
  
  public function assignBitmapData(bitmapData : Array&lt;BitmapData&gt;){
      for(bmap in bitmapData){
          var frame = new Bitmap( null, flash.display.PixelSnapping.AUTO, true );
          frame.bitmapData = bmap;
          pushFramesAsBitmap(frame);
      }
  }
  public function pushFramesAsBitmap(frameAsBitmap:Bitmap) {
      bitmapFrames.push(frameAsBitmap);
  
      frameAsBitmap.visible = false;
      addChild(frameAsBitmap);
  }
  
  public function startAnimation(fps:Int) {
      var milliseconds:Float = 1000 / fps;
      loadScreenTimer = new Timer(milliseconds, 10);
      loadScreenTimer.addEventListener(TimerEvent.TIMER, updateAnimation);
      loadScreenTimer.start();
  }
  
      private function updateAnimation(e : TimerEvent):Void {
          if (currentFrame &gt; bitmapFrames.length -1) { currentFrame = 0; }
          if (previousFrame != -1) {
              bitmapFrames[previousFrame].visible = bitmapFrames[previousFrame].__combinedVisible = false;
          }
          bitmapFrames[currentFrame].visible = bitmapFrames[currentFrame].__combinedVisible = true;
          previousFrame = currentFrame;
          currentFrame++;
      }
  
  }
  </code></pre>
  
  <p>what im seeing when I call playAnimation is it stutters really bad, the next time I play the animation it plays smoothly.</p>
  
  <p>I have tried setting the alpha to 0 playing the animation then setting it back to 1 and playing but it will stutter the second time in this case.</p>
  
  <p>Same if I move it behind another display object play the animation then move it to the front of the draw order, it will stutter the second time.</p>
  
  <p>IS there a way I can play this animation without it stuttering?</p>