Preloader for individually loaded images

Hi all, 2 part question:

  1. I am using this code to dynamically load jpg images into a movieclip container:

on (release) {
this.myContainer.loadMovie(“images/myPic1.jpg”);
}

I would like to make it so that when a person clicks on a thumbnail, a preloader (percentage bar) displays while the jpg loads.

I have seen various threads on this on the forum and claudio’s tutorial on preloaders and dynamic content but I am not sophisticated enough to combine the elements to get it to work the way I want. Any help/suggestions would be appreciated!!! :slight_smile:

  1. Also, I would like to be able to load one of three text captions (caption1, caption2, caption3) depending on which image is loaded. Basically what I want to say if “If (images/myPic1.jpg) is loaded into myContainer then display caption1.” I wish to god I knew more about programming languages, I know what I want to do, and I know the logic, but I just can’t connect the **** dots!!! I tried playing around with an array, but now I am just dizzy! Help!