Need help loading images

I have a movieClip that act’s like a button. in this movieclip is another movieClip in wich an thumbnail is loading from a thumbnail directory. i have 20 images in the thumbnail directory. how can i do a code that duplicates the buttonMc as many times as images in the thumbnail directory are, and loads in each buttonMc one from these images?