# Preloading dynamically loaded JPGs

**URL:** <https://forum.kirupa.com/t/preloading-dynamically-loaded-jpgs/10288>\
**Category:** Uncategorized\
**Created:** [December 28, 2002, 7:56pm UTC](https://forum.kirupa.com/t/preloading-dynamically-loaded-jpgs/10288 "2002-12-28T19:56:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ultramarc](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@ultramarc](https://forum.kirupa.com/u/ultramarc)\
**Post date:** [December 28, 2002, 7:56pm UTC](https://forum.kirupa.com/t/preloading-dynamically-loaded-jpgs/10288/1 "2002-12-28T19:56:03Z")

</div>

i have lotsa buttons with dynamically loaded JPGs in it. how do i preload dynamically loaded JPGs so the stage won’t have a blank space and then one by one the pictures appear?

[http://ultramarc.tripod.com/jan2003](http://ultramarc.tripod.com/jan2003)

after clicking on enter, there are buttons on the right side…click on the “L” button or “G” button…to see what i’m tryin to say…

---

<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:** [December 28, 2002, 8:34pm UTC](https://forum.kirupa.com/t/preloading-dynamically-loaded-jpgs/10288/2 "2002-12-28T20:34:04Z")

</div>

Hey ultramarc, I thought I came up with a way to do this before, but for some reason when I upload to the server the preloader goes, but the image comes up blank.

Very weird, I don’t understand what I did wrong, but then again, I didn’t work with it too much, been too busy lately.

I won’t be around tonight, so hopefully someone else will come in here and post some working code.

For me and you ;)…lol.

---

<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:** [December 29, 2002, 10:18am UTC](https://forum.kirupa.com/t/preloading-dynamically-loaded-jpgs/10288/3 "2002-12-29T10:18:24Z")

</div>

ok…another question: how do i preload dynamically loaded jpgs along with preloading the whole movie?

and how to do this preloading pics in this site

[http://www.lennykravitz.com](http://www.lennykravitz.com)

and how will i be able to do the effect in that site when it goes from one section to another? it’s a very cool effect!

---

<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:** [December 29, 2002, 10:58am UTC](https://forum.kirupa.com/t/preloading-dynamically-loaded-jpgs/10288/4 "2002-12-29T10:58:46Z")

</div>

i mean…preloading ALL dynamically loaded jpegs along with preloading the whole movie or after preloading the whole movie…
