# Dynamic Images and Loading

**URL:** <https://forum.kirupa.com/t/dynamic-images-and-loading/28128>\
**Category:** flash\
**Created:** [August 10, 2003, 3:31pm UTC](https://forum.kirupa.com/t/dynamic-images-and-loading/28128 "2003-08-10T15:31:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mazar](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@Mazar](https://forum.kirupa.com/u/Mazar)\
**Post date:** [August 10, 2003, 3:31pm UTC](https://forum.kirupa.com/t/dynamic-images-and-loading/28128/1 "2003-08-10T15:31:55Z")

</div>

Here’s my situation…  
I have a slideshow of no more than 5 jpgs (01.jpg-05.jpg) that I am dynamically loading that will be animated linearly (ie. 01.jp, 02.jpg, etc.).

I’m loading them into a container movieclip, and they load in fine and my movie works great.

Here’s my problem…  
I would like to know that if there isn’t a 04.jpg, or 05.jpg on the server where my images are, that after my movieclip plays the 01.jpg, 02.jpg, & 03.jpgs, that if there is no #4 or#5, that my movie would loop back to play the number 01.jpg again. I hope I explained it well, but I am in dire need of help. Here’s  
my loading images code…

imageHolder2.\_x = 0;  
imageHolder2.\_y = 0;  
loadMovie(“02.jpg”, \_root.container.imageHolder2);

Thanks for listening!
