video complete (event)


  private function videoComplete(event:VideoEvent):void
  {
   if (this.playlistCursor < this.playlist.length() - 1)
   {
   this.myVideoDisplay.playheadTime = 0;
   this.playlistCursor++;
   this.playVideo();
   }
  }
  
This method handles clicks from the Next and Prev buttons.