How to preload dynamically loaded images

i’m working on a photo gallery with flash mx… the problem is i’m using quite a lot of photos… and they have to be updated from time to time…

I got help from this website… on the tutorial on how to dynamically load images into the gallery… this way… i can change the images whenever i want… I’ve combined this tutorial with the infinite menu tutorial …so i have a scrollingbar(the buttons itself are dynamically loaded images) as buttons for dynamically loaded images…

the problem is… these pictures are not loaded during preloading… hence… images in the scrolling bar are shown empty initially… and pop up one by one later…

the more efficient way would be for all the images to preload first before the gallery starts… i’ve been searching through the internet for such tutorials…found some really close one… but i don’t quite understand them… i’m still new to flash… in fact… this is my first flash website… and i have little understanding of actionscript…

i hope u can help me with this

i have the same question my friend and yet still no answer. If I find one I’ll let you know,

:pope:

i found a slideshow component at
http://www.flashcomponents.net/component.cfm?nav=2&id=275

the slideshow preloads dynamically loaded images…
and it shows a preloader for each images…
it is not exactly what we want… but it’s close to it…
with a little bit of modification, i’m sure it’s possible…

but i’m not very familiar with actionscript…
maybe u or your friend can help with the code…

Here ya go…

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

Thank You lostinbeta!! Man- I was about to pull my hair out.
I noticed in that thread you talked about non-cache code and was wondering how you tell it to be cachable or non-cachable? Anyway thanks again for the code snippet!!!

:pope:

No-Cache Prototype:

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=14268&perpage=15&pagenumber=3

First post on that page… its excellent!