# Loading script for image gallery

**URL:** <https://forum.kirupa.com/t/loading-script-for-image-gallery/23112>\
**Category:** flash\
**Created:** [June 12, 2003, 10:38pm UTC](https://forum.kirupa.com/t/loading-script-for-image-gallery/23112 "2003-06-12T22:38:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joebez](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@joebez](https://forum.kirupa.com/u/joebez)\
**Post date:** [June 12, 2003, 10:38pm UTC](https://forum.kirupa.com/t/loading-script-for-image-gallery/23112/1 "2003-06-12T22:38:08Z")

</div>

Hey you all.  
I have a simple image gallery so when you click on one image it will load the swf in the main movie now since it is taking about 15 seconds to load I tried to create a preloader for this  
Any body can help me.

👽 ----------👽  
----Please ?—  
👽 ----------👽

---

<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:** [June 13, 2003, 3:18am UTC](https://forum.kirupa.com/t/loading-script-for-image-gallery/23112/2 "2003-06-13T03:18:32Z")

</div>

which one is your question? how to make preloder? or how to make it works when you load picture?

to make the preloader works, just insert it in the first keyframe. on the second keyframe, you put your picture. assign stop action.  
Its done. there are hundred of preloader tutorials out there.
