# Adding some text ot the photo gallery

**URL:** <https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897>\
**Category:** Uncategorized\
**Created:** [December 15, 2003, 7:27pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897 "2003-12-15T19:27:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoDe\_ReD](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/code_red/32/336_2.png) [@CoDe\_ReD](https://forum.kirupa.com/u/CoDe_ReD)\
**Post date:** [December 15, 2003, 7:27pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/1 "2003-12-15T19:27:03Z")

</div>

Hi there…  
I’ve done this tutorial from [kirupa.com](http://kirupa.com) named “Creating a photo gallery”. It works fine, but I want to have some nice one-liners under my pictures. Is there some sort of code that I can use to add some lines in a dynamic textbox or something like that? I do not want to use a .swf file for every picture I choose. It takes way too much time to create all of that stuff and the quality of the pictures reduces a lot when you import them into flash.

Also is there some kind of code so that I can press a button for every picture. Something like photo01 or partypic03.

I have an idea about this stuff, but I don’t know how to write it in flash… I’m kinda like an AS noob…

You could use some sort of counter that starts with 1 at the first picture and everytime you press next -=\> +1. So if you are @ picture 33 the counter is @ 33. If you click on the button “12” the counter goes to 12 and load picture 12 and the text for poto 12 in a dynamic text box. I dunno if it’s possible, and I dunno if it’s hard to do, but if you guys can do this please tell me how to…

Thnx!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 22, 2003, 2:59pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/2 "2003-12-22T14:59:03Z")

</div>

This is what I was looking for. But can you combine it with the back and next buttons? I tried it but I can’t figure it out. I know I’m a noob, but plz help me… Can you send me the final example?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 22, 2003, 7:54pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/3 "2003-12-22T19:54:13Z")

</div>

So can you?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 23, 2003, 12:32am UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/4 "2003-12-23T00:32:51Z")

</div>

search the forums…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 23, 2003, 11:23pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/5 "2003-12-23T23:23:21Z")

</div>

I aready did. I can’t combine it plz help me…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 24, 2003, 6:15pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/6 "2003-12-24T18:15:25Z")

</div>

Oh plz help me!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 24, 2003, 7:01pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/7 "2003-12-24T19:01:39Z")

</div>

o.k. Code-ReD,

What exactly do you want changed from my last example.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 24, 2003, 9:51pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/8 "2003-12-24T21:51:05Z")

</div>

[http://www.mr10.net/](http://www.mr10.net/)

U can find usefull example here.  
His GalleryComponent is the best.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 24, 2003, 11:30pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/9 "2003-12-24T23:30:44Z")

</div>

Well you have used some kickass thumbs in your last example. And you have send me an example of using the next and back buttons. What I want to have is a photo gallery using both the next & back buttons and those nice thumbs.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 25, 2003, 9:43am UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/10 "2003-12-25T09:43:48Z")

</div>

With the risk of being stupid (the links Inflicted gave you now are dead [ff de server opgeruimd, Inflicted?]) but in your thumbnail example just add the next and back buttons with their code.  
I think Inflicted used the same function for both examples (at least I hope:h: )

scotty(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 25, 2003, 9:38pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/11 "2003-12-25T21:38:27Z")

</div>

Well I tried. I’m pretty stupid too you know. So can you please post the code here?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 26, 2003, 11:27am UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/12 "2003-12-26T11:27:45Z")

</div>

So you want thumbnails appearing whenever you click back and next buttons?  
[COLOR=red]You have to realize this isn’t an swf ordering service code-red.[/COLOR]  
You also have to use some of your own creativity in Flash.  
I started with Flash 6 mnths ago, and with the help of many kirupans(cheers Scotty, nice avatar!)  
I came as far as I am today.  
(I took that example of my server, because I don’t like this guy’s attitude!)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 26, 2003, 3:18pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/13 "2003-12-26T15:18:05Z")

</div>

Well sorry… I’ve started flash 3 months ago and I still dunno s\*\*\* about actionscript… I just don’t know where to start. I know I sound stupid and it’s probably annoying you, but I would really like it if you would help me one last time. I’ll try to explain it a little bit better.

I mean this: You have like 5 thumbs or something. These do not have to scroll or anything. When you press a thumb your picture and caption get loaded into the textbox and container. That worked fine with your last example! And you posted an example about those nice next and back buttons. That worked fine too! It all works fine. Hell what am I complaining about!?! 🙂  
What I want to do is change the current picture with the next & back buttons but also change the picture with the thumbs. So the next & back buttons should load the next or previous picture and the thumbs should directly load the picture in the container and of course the caption in the text box. So you get a combination of the next & back buttons and those nice thumbs. I hope you understand and you want to help me.

BTW I’ve done a website so I am a little bit creative. The adress is [http://www.b3site.tk/](http://www.b3site.tk/)  
(It’s dutch, dus ik denk dat je het wel zult begrijpen ofniet?).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 26, 2003, 5:16pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/14 "2003-12-26T17:16:25Z")

</div>

I understand that, but I don’t know how to do it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2003, 11:31am UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/15 "2003-12-27T11:31:33Z")

</div>

Ok well thnx for your help.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2003, 11:45am UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/16 "2003-12-27T11:45:57Z")

</div>

sounds better…

good luck!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2003, 11:56am UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/17 "2003-12-27T11:56:31Z")

</div>

Thnx! Hope I figure this out.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2003, 4:31pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/18 "2003-12-27T16:31:55Z")

</div>

I need the same… I’ve made a “swf TXT-multiple varriables loader” , but i cant make it work if a I load that movie on to a main movie

also have a pack of single button (no next and previus)

may be we could help you… and me too

sources:  
www.aztecastupro.com.ar/temp/v/source.zip

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2003, 6:48pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/19 "2003-12-27T18:48:45Z")

</div>

CoDe-Red, here’s an example, just replace the buttons for your thumbs and add pictures/text, I hope this works for you

scotty(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2003, 6:52pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897/20 "2003-12-27T18:52:55Z")

</div>

Such a generous man, scotty.

Now can we close this thread?  
It’s already 3 pages…

[Next page](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/37897.md?page=2)
