Frustrated loading images

I am making a photogallery site and am having problems loading thumbnails. I have an array that I need to cycle through and load the image name in the array.

I then have a thumbnail movieClip in my library to attach to an empty movie clip at runtime. so basically the following needs to happen

  1. create emptyClip
  2. attach thumbHolder to emptyClip
  3. get file name from array and load image into thumbHolder
  4. when image is loaded tell thumbHolder to play();
  5. repeat for _length of array.

Any help or pointing in the direction of a tutorial would be greatly appriciated. Thanks all, kirupa rocks.