Simple question

I did the picture galery tut. and have a question.is there a way to make a loader for every picture cause I use pictures that are big in size. or where can I find another tutorial that has that function.
I plan on having a huge galery=thousands of pictures maybe.
is there a better way to go about this.

Well if you want to use a seperate preloader for each image then you would have to have each picture in its own swf file and use the loadMovie action to load it into your main movie. That’s the only way I know, there might be another one though. I hope that helps. =)

yeah but that would be a real pain.u know.and if I do that how do I make my buttons load the next swf. or a random one?got any idea? I know how to load movie but dont want to assign its variable or whatever is called for every swf I load. I would just like it to go to next or something like that.thanx

You can do this, depeding on the size of your images, I would probably assign a series of them to one swf and set a preloader to it. In the swf, I’ll have the images sit in a series of frames like frames 1-10 would have a image on each frame and a stop action on each frame as well. Then I’ll make back and forward buttons so you can toggle through the images. You can assign these actions to the buttons.

Forward button:

on (release) {
	play();
}

Back button:

on (release) {
	prevFrame();
}

I also attached a simple example that I made real quick to help you see what I’m talking about, I hope it helps. =)

thanx.this is the site http://djdread.com I made a couple of swf with pics in them.but I dont like it.

I want to do something similar to this http://www.headvertising.ro (click on pictures) Its probably like u said.different swf loaded but I want to use many pics and I thought maybe I could modify this tut to put a global preloader in it or something like that.It would make things much easier.the pics I use are straight out of a camera. around 150k each.I dont really want to go in photoshop and change them unless u know of a program that does batch processing in pictures.that would be great if u can give it a folder of pictures and tell it to modify all to certain specifications, without having to process each picture individualy.example would be just to change the size(resoution)of the picture.many thanx.

I think photoshop is capable of batch processing through actions, but I’m not sure, I’ll have to ask around for that. I looked at the site you wanted to model after and they use images in seperate swfs with a preloader. So you can eathier load a single swf with 1 image in it or 1 swf with several images in it. Those are the only 2 ways I know. :-\