PDA

View Full Version : Loading images from a dir



digital2
April 17th, 2005, 07:33 PM
Hello all,

I have searched the threads and have seen a few examples of what I am trying to do.

I am wanting to load images (thumbnails) onto a page from images in a dir. (they can be predefined as for name)

The thumbnails on my page will change everyweek, and going in and changing all of them in the SWF file seems to be not the best use of time.

The gatcha to all this is: I am not Flash savy... I have a designer develope the site for me, and he has kinda left me high and dry, and is asking a VERY large amount of money to make this change for me.

Any assistance, advise, or even bid on doing this would be appreciated.

Regards,
D

ghjr
April 17th, 2005, 09:26 PM
There's a bunch of different tutorials regarding loading in pictures from a dir in the tutorial section of kirupa, maybe checking there could start you off.

Your probably going to be using loadMovie to load in the JPG's, or the new MovieClipLoader class (http://www.kirupa.com/developer/actionscript/moviecliploader.htm).

Cheers!

digital2
April 18th, 2005, 02:17 PM
Thank you for the link, but I am confused as to how this will help me?

Of course I probably didnt explain my issue correctly :-)

I have a page that is a "gallery" of thmbnails - (click to see fullsize) (the gallery page is in flash) and current has all the images hard added to the swf file.

Which means each tme a picture changes, I have to go in, and change it the swf file.

I am looking to have all the thumbnails reloaded each time from a directory.

Is that a better explanation of my problem ??

Thanks in advance

D


There's a bunch of different tutorials regarding loading in pictures from a dir in the tutorial section of kirupa, maybe checking there could start you off.

Your probably going to be using loadMovie to load in the JPG's, or the new MovieClipLoader class (http://www.kirupa.com/developer/actionscript/moviecliploader.htm).

Cheers!

binlid
April 18th, 2005, 02:30 PM
xml!
the developer should have done it in such a way as to be dynamic.. then all you'd need to do is to have your pics in your directory, and a quick edit of the xml...