Preloading Dynamiv Images


#1

Is there a way to preload dynamic images.

I’ve created a little dynamic image loader but currently there is no indication that an image is loading.

I’d like to have a loading bar indicating the load time of the image being loaded next.

I’m using the simple loadMovie(url, “image”);

cheers,

Kappa :wink:


#2

By dynamic, do you mean that you want to be able to load any image in a certain directory without it’s file name being pre-coded anywhere in your code or to just be able to load an image from within a flash file when a user clicks on a button?

If it’s the second, you can just create a simple flash file with a preloader and your image. That way, when you load the file, the user will see the load pregress.

If it’s the first choice, you might be able to create a flash file with a preloader along with a blank image holder. I haven’t tried this, but you could probably set the image to a variable name and pass the name of the image to it through the URL.

I’ll play around with this and see if I can get this to work. It would come in handy to have something like this.


#3

I allready have the gallery working, calling images from a specified folder, but it doesn’t preload them, nor does it indicate the loading time for each one when the next or previous button are pressed.

I’ll can post the FLA if needed.

cheers


#4

http://www.247365.com.au/extras/dynamic/


#5

i know the problem,

i solved it in a bit uncomfortable way. (i’m no flash pro)
i don’t load jpgs, but small swfs wich include the preloader and the picture.
you only have to built the file once, replace the image and “save as” a new fla/swf.

btw, i didn’t see any preloaders on your site. but cool one.

greetz.

jo


#6

If you can post the fla that would help.:slight_smile:


#7

Jo B,

That’s exactly what I suggested. :slight_smile:


#8

:blush:


#9

LOL, :beer:


#10

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.