# Preloader for individually loaded images

**URL:** <https://forum.kirupa.com/t/preloader-for-individually-loaded-images/33263>\
**Category:** flash\
**Created:** [October 17, 2003, 3:56am UTC](https://forum.kirupa.com/t/preloader-for-individually-loaded-images/33263 "2003-10-17T03:56:01Z")\
**Posts on this page:** 2\
**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/33263/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!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 19, 2003, 7:49am UTC](https://forum.kirupa.com/t/preloader-for-individually-loaded-images/33263/2 "2003-10-19T07:49:07Z")

</div>

I have already made all the sewfs, but I would be interested to see how the code works: the images are at [http://www.classicdancers.com/LSWorking/images](http://www.classicdancers.com/LSWorking/images)

Thanks for the help!
