# Preloader for individually loaded images

**URL:** https://forum.kirupa.com/t/preloader-for-individually-loaded-images/92430
**Category:** Uncategorized
**Created:** [October 17, 2003, 3:56am UTC](https://forum.kirupa.com/t/preloader-for-individually-loaded-images/92430 "2003-10-17T03:56:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![PiouPiou](https://avatars.discourse-cdn.com/v4/letter/p/a587f6/32.png) [@PiouPiou](https://forum.kirupa.com/u/PiouPiou)
#### Post date: [October 17, 2003, 3:56am UTC](https://forum.kirupa.com/t/preloader-for-individually-loaded-images/92430/1 "2003-10-17T03:56:01Z")

</div>

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!!! 🙂

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!
