Image Gallery Thumbnail Problem

I really wish I found this site a year ago.

I am making a photo gallery based on the tutorials on this site with images on the left and thumbnails on the right. I have 2 questions.

  1. When I load thumbnails to the stage, I would like it to stop after 20 pictures and have a link to 20 more to help organize the data. I have it set up now where it starts the process, but it does not break after 20.

  2. I would like to use a combo box to select the photo gallery you would like to go into. Once you select that, it would load the thumbnails and the first picture of the gallery.

I have attached what I have done so far in the hope that someone can help me out. Please Help