Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

photo gallery help 2

Status
Not open for further replies.

disfasia

Programmer
Apr 20, 2001
378
CA
Hi. I am teaching a class and I am putting about 40 photos online. They are too heavy to put in one swf (I already and stupidly tried that!) But I have a clear idea of what I want--I have designed the intro page with a forward and backward button to scroll through each photo. I also have a final index where I have miniatures of each of these 40 photos so that my students can review particular photos without having to rescroll through all forty.

Here are my questions:

1. How do I load the photos with their titles? I thought of an swf for each one, but I do not know what is best?

2. How do I call the "next" and "back" buttons--that is, what would the script be for this?

3. Then, how do I script the thumnails of the photos which will not go back and forward but to a specific photo?

Thanks so so much in advance! Peace.

disfaisa
 
Try this...


Regards,

cubalibre2.gif
 
Thanks oldnewbie, but I cannot open the .fla Is this because I have Flash 5.0a ?

I have been trying everything to open the file. Any suggestions?

best,

julian
 
dear billwatson,

thanks for that link...it looks great!

best,

julian
 
ooops, I spoke to soon billwatson...i also cannot open the .fla. Must I upgrade to higher flash version?

best

disfasia
 
What do you mean, "but still a component"?

how can I open the .fla?

thanks

disfasia
 
those components will not work with flash 5. you need mx.

if 5 is all you have to work with then something a bit more basic will be needed.

i can put you together a basic slideshow in 5 if thats any help.
 
Could you do that billwatson? I have been waiting since february for my computer--a university strike has delayed it to say the least. So I am on OS 9.2 and cannot even take use the free trial of the new Flash.

I would greatly appreciate it if you could mock one up for me...

thanks

disfasia
 
Thanks so much...but I cannot open the .fla? Can you verify that it is in flash 5 because it will not open.
thanks again

disfasia
 
thanks for the links oldnewbie also!

best,

disfasia
 
Well, I cannot open it. In fact, I notice the file is white and has a grey bevel hue which none of my other .flas have. Could this be a result of your using osX or something? I have tried everything to open it...

thanks again

disfasia
 
maybe you are using a mac..i dont know


however v. quick to recreate

open a new flash file and make 2 buttons (next and previous). place an empty clip on stage and give it an instance name of picholder
Code:
frame 1 actions

_global.i = 1;
loadMovie("1.jpg",picholder)

next button code

on (release) {
	i++
	if(i>=6)i=1
	loadMovie(i + ".jpg",picholder)
}

previous button code

on (release) {
	i--
	if(i<=0)i=6
	loadMovie(i + &quot;.jpg&quot;,picholder)
}
thats it. just make sure the jpgs are in the same folder

 
Can you make your .fla available? But if you're on Mac, it will have to be zipped up for us to open it!

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top