# Need To Create A Preloader For A Movieclip

**URL:** <https://forum.kirupa.com/t/need-to-create-a-preloader-for-a-movieclip/271954>\
**Category:** flash\
**Created:** [September 30, 2008, 6:18pm UTC](https://forum.kirupa.com/t/need-to-create-a-preloader-for-a-movieclip/271954 "2008-09-30T18:18:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajpar3](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@rajpar3](https://forum.kirupa.com/u/rajpar3)\
**Post date:** [September 30, 2008, 6:18pm UTC](https://forum.kirupa.com/t/need-to-create-a-preloader-for-a-movieclip/271954/1 "2008-09-30T18:18:46Z")

</div>

Relatively new to AS 3.0. Here is what i want to do and am struggling-

have a bunch of thumbnails which when clicked will load Movieclips (slideshows) on the fly. These movieclips have been exported for AS. I have an empty movieclip on the main timeline into which i am loading these slideshow movieclips.

How do i create a preloader before each of these movieclips that are being loaded, so that it runs the preloader first and then loads the slideshow. im doing this as i have many thumbnails.

code im using for slideshow instance-

_var s1:slide1= new slide1();_

putting the abv into the empty movieclip (hol) on the stage-

\*hol.addChild(s1);  
\*  
This works fine for all the thumbnails and the overall page/swf is working perfect. Only thing lacking is a preloader before each slideshow.

Pls pls advise…

best regds
