# Dynamic Preloader

**URL:** https://forum.kirupa.com/t/dynamic-preloader/204943
**Category:** Uncategorized
**Created:** [October 24, 2006, 7:58pm UTC](https://forum.kirupa.com/t/dynamic-preloader/204943 "2006-10-24T19:58:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![flashermx](https://avatars.discourse-cdn.com/v4/letter/f/e5b9ba/32.png) [@flashermx](https://forum.kirupa.com/u/flashermx)
#### Post date: [October 24, 2006, 7:58pm UTC](https://forum.kirupa.com/t/dynamic-preloader/204943/1 "2006-10-24T19:58:06Z")

</div>

I created my own photo gallery of dynamicly loaded jpegs using the following code.  
The following code is in frame one  
createEmptyMovieClip(“container”,2);

The following code is in frame 2 and is repeated in every frame after that with only the name of the image changing.  
stop();  
loadMovie(“gallery\_images/IMG\_0755.JPG”,“container”);  
container.\_x=0;  
container.\_y=.8;

It’s a nice galley and works well.  
What actionscript can I use as a preloader to show the status of the dynamically loaded jpeg?
