Preloader for dynamically loading jpgs

hello,

i’m a total beginner when it comes to actionscripting so a lot of what i’ve read on this subject is hard to understand.

i’ve created a file with dynamically loading jpgs based on this:

http://www.flashkit.com/board/showthread.php?threadid=345121&highlight=dynamic+load+jpg

which basically uses this code:
picHolder.loadMovie(“images/p1.jpg”);

Can anyone tell me how to create a preloader for this?

Thank you!!
Julia

Read this thread, it might help.

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=15472