# Adding some text ot the photo gallery

**URL:** <https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/96945>\
**Category:** Uncategorized\
**Created:** [December 15, 2003, 7:27pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/96945 "2003-12-15T19:27:03Z")\
**Posts on this page:** 3\
**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/96945/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 17, 2003, 1:08pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/96945/2 "2003-12-17T13:08:59Z")

</div>

Yeah inflicted, I exacly mean what you have posted! The XML is new to me, I suck @ that. Please help me out with your example inflicted… I like 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 17, 2003, 2:01pm UTC](https://forum.kirupa.com/t/adding-some-text-ot-the-photo-gallery/96945/3 "2003-12-17T14:01:10Z")

</div>

Here you go bro, made this for ya’ :  
www.inflicted.nl/slideshow.zip

Hope ya like it…
