title: Jump to next or previous KEYframe in AS3
body: <p>I'd like to be able to navigate forward and backward through my keyframes using the keyboard. </p>
  
  <p>The code to do this for individual (non-key) frames is simple enough. The following is straight from Flash's "Simple Presentation" template:</p>
  
  <pre><code>stage.addEventListener(KeyboardEvent.KEY_DOWN, fl_changeSlide);
  function fl_changeSlide(evt:KeyboardEvent):void
  {
      if(evt.keyCode == 37) // LEFT
      {
          gotoAndStop(this.currentFrame-1);
      }
      else if (evt.keyCode == 39) // RIGHT
      { 
          gotoAndStop(this.currentFrame+1);
      }
  }
  stop();
  </code></pre>
  
  <p>Is there an equivalent code snippet for jumping between keyframes? It seems like there should be, but I've not been able to find it.</p>