Adding some text ot the photo gallery

Scotty Thats nice can i change it alittle and use? by the way
I tried adding a pic but wont show keep getting error.
Error opening URL “file:///C|/WINDOWS/Desktop/images/image1.jpg”

but1.onPress = function() {
if (“image1.swf” != 1 && !fadeIn && !fadeOut) {
fadeOut = true;
image1 = 1;
input = image1;
}
I prob got it all wrong cannot think straight .Thanks.

Regards Barrie

Are you sure you got your .fla and an image folder “images” with "image1"in it on your desktop?

scotty(-:

Scotty Im sure I do lol. Still not working So what I added correct
? Confused still why wont show up image!!

Regards Barrie

Barrie, not your fault, i didn’t test it enough;(
look in actions layer for
[AS]loadMovie("…/images/image"+whichPic+".jpg", “square”);[/AS]
and change that in
[AS]loadMovie(“images/image”+whichPic+".jpg", “square”);[/AS]

edit/ removed a wrong buttoncode
scotty(-:

Ok scotty I did fix that problem got the photo to show :slight_smile: But im on another problem now :frowning: From what I see the buttons that work only work with image1 not image2 image3 so on.
From what I see only way I can view an image is when I do this.

if (square._alpha<10) {
	loadMovie("image1.swf", "square");
	fadeOut = false;
	fadeIn = true;
}

Now If i want to use image2 from the button2 when I do as you said in your last post, the image1 shows up over and over on button test. Not showing image2 or image3 on button 3 so on.

Regards Barrie

Only change that one line I gave you.
The value of “whichPic” in that lign you set by pressing your button. (so you don’t have to hardcode it)
On (eg button1):

[AS]but1.onPress = function() {
if (whichPic != 1 && !fadeIn && !fadeOut) {
fadeOut = true;
whichpic = 1;
input = whichPic;
}
};[/AS]

scotty(-:

Sorry Scotty here I am again. Right first of I did as you said. this.

loadMovie(“images/image”+whichPic+".jpg", “square”);

Now Dont I have to change the jpg too “image.swf” ?
too show image? As I was doing befor.!!

Next The button code

but1.onPress = function() {
if (image != 1 && !fadeIn && !fadeOut) {
fadeOut = true;
image = 1;
input = image;
}
};
Like so!!!

I have tried it and still unable to show image? Even left it as you said and just altered the jpg code. Whats wrong here Scotty I am really baffled now. From what I see only image will show when jpg is changed. Sorry to be a pain but this A,S have me really confused… Can you do it so two images show! and post it please I could see then whats wrong my end.

Regards Barrie

Very, very, VERRRRRY cool! This is not what I was looking for though. It looks kickass and it is almost exactly what I had in mind. I just wanna know: How can I add my own custom captions, such as: Friend @ party or My dog on the grass or something. Can you tell me?

Barrie, take the fla I gave you yesterday, only change one line (the “loadMovie-line”) and it should work:)
Code-Red, how you’re calling your captions now?

scotty(-:

Fla. with added description per image.

(Thanks to scotty for the original fla)

Yup close this one. I’ve finally found it! THNX hga77! I would really like to thank all of you guys for helping me! I really appreciate it! THNX!!!

Well now i see what i did wrong :slight_smile: I was using swf not jpg images. No wonder hahaha… Well I have one question now
on the description, Having tried added further text I see i can only add 19 letters! how can I add more like a list for each photo?
Many thanks.

Regards Barrie

Barrie i dont understand!!!

ok…i think I get you now…

In the fla, go to the ‘desc’ layer. Select the text box on it and from the property panel, change it from “Single Line” to “Multiline”.

Should work now

Thanks Haga I did know after I looked at the desc Thanks

Regards Barrie

no probs

Whos Haga???