# Flash/XML photo gallery

**URL:** <https://forum.kirupa.com/t/flash-xml-photo-gallery/180517>\
**Category:** Uncategorized\
**Created:** [March 1, 2006, 7:20am UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517 "2006-03-01T07:20:34Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![co2la](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@co2la](https://forum.kirupa.com/u/co2la)\
**Post date:** [March 1, 2006, 7:20am UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/1 "2006-03-01T07:20:34Z")

</div>

I have just completed your Photo Gallery Tutorial which works great. I have a very simple question. Instead of the prev/next buttons I would like to have numbered buttons to reveal the remaining images. In other words, if I have 5 images in the xml file and the first image comes up, I want 5 buttons (not thumbnails, maybe just numbered buttons) next to it that you can click to reveal the other images. I honestly tried to adapt the code from the tutorial to make this happen as it seems like it would be a simple adaptation, but I couldn’t make it work. I’m really a designer with a little actionscript knowledge… sorry for the dumb question!

Thanks for you help…

---

<div class="post-metadata">

**Author:** ![hishee2](https://avatars.discourse-cdn.com/v4/letter/h/e36b37/32.png) [@hishee2](https://forum.kirupa.com/u/hishee2)\
**Post date:** [March 29, 2006, 5:16am UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/2 "2006-03-29T05:16:22Z")

</div>

ok i basicly recreated what you guys have been talking about in the above posts, the one thing i want to add to it is a launch bar. how do i go about doing that with the XML photogallery with the 5 buttons. im not that good in coding i just understand everything and how it works. can someone help. i have the button ready and everything, idk what code i should put in, like for each pic in the gallery i want a diff link, its like a recent projects gallery

---

<div class="post-metadata">

**Author:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [March 30, 2006, 9:32am UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/3 "2006-03-30T09:32:51Z")

</div>

maybe this will help

> **[Adding links to photo slideshow](https://www.kirupa.com/forum/showthread.php?t=181891)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

scotty(-:

---

<div class="post-metadata">

**Author:** ![anchorball](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@anchorball](https://forum.kirupa.com/u/anchorball)\
**Post date:** [April 6, 2006, 9:40pm UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/4 "2006-04-06T21:40:28Z")

</div>

If I wanted to put the code on the button\_mc, and call to it from inside mc, how would I do this?  
I tried this in an OnClipEvent, and left the code in the main as without the button references, but it isn’t working

this.onRelease = function() {  
p = 2;  
firstImage();  
};

---

<div class="post-metadata">

**Author:** ![craiggers19](https://avatars.discourse-cdn.com/v4/letter/c/8baadc/32.png) [@craiggers19](https://forum.kirupa.com/u/craiggers19)\
**Post date:** [April 6, 2006, 10:31pm UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/5 "2006-04-06T22:31:21Z")

</div>

Hello everyone. I just completed Kirupa’s Photo gallery Tutorial as well – very informative. One thing that I would like to do is create a grid of thumbnails to display instead of using the scroller? Seems pretty easy, even easier than the scroller, but my grid function is giving me problems all day. I have scrapped it and decided to start over. Does anyone have any suggestion on adding a simple grid format to display the thumbnail images to the immediate left of the full size image? Then, when a thumbnail is clicked, it will display the full size image to the right – working exactly like the tutorial. I want to keep as much code from the tutorial as I can, but maybe that was my problem. I’m thinking the grid to be 3 or 4 columns by 4 or 5 rows. Thanks for the help.

---

<div class="post-metadata">

**Author:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [April 12, 2006, 9:26am UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/6 "2006-04-12T09:26:34Z")

</div>

Check this:

> **[Photo gallery XML thumbd in a grid HELP PLEASE](https://www.kirupa.com/forum/showthread.php?t=204346)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

scotty(-:

---

<div class="post-metadata">

**Author:** ![speakvolume](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@speakvolume](https://forum.kirupa.com/u/speakvolume)\
**Post date:** [April 18, 2006, 6:22pm UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/7 "2006-04-18T18:22:57Z")

</div>

Hey, posted this else where but this thread may be more relevent to what I’m working on. Big fan of your fan of your work scotty on all posts by the by. I am stuck at the moment and was hoping someone could take a sec and give me some advice. I’m attaching the files I’m working on for the photo gallery. the problem is I can’t for the life of me load the thumbnail scroller that needs to be at the bottom of the screen. right now there is a placeholder mc of what it’s suppossed to look like and I want the images to scroll infinitely and highlight when you rollover them. i’m sure this is just my sheer lack of experience but perhaps someone can give me a nudge in the right direction.

many thanks in advance

[http://www.speakvolume.com/thumbscroll\_comm.zip](http://www.speakvolume.com/thumbscroll_comm.zip)

---

<div class="post-metadata">

**Author:** ![gmartins](https://avatars.discourse-cdn.com/v4/letter/g/8baadc/32.png) [@gmartins](https://forum.kirupa.com/u/gmartins)\
**Post date:** [July 7, 2008, 12:58am UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/8 "2008-07-07T00:58:15Z")

</div>

hi:)  
I’ve been checking the Photo Gallery Using XML and Flash ([http://www.kirupa.com/developer/mx20...otogallery.htm](http://www.kirupa.com/developer/mx20...otogallery.htm)) and trying to modify it in some ways… is it possible to make the description text fade in and out like the images do? Or at least that the description text only appeared after the images has been loaded…  
Many thanks!

Gonçalo

---

<div class="post-metadata">

**Author:** ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)\
**Post date:** [July 7, 2008, 8:13pm UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/9 "2008-07-07T20:13:25Z")

</div>

[QUOTE=gmartins;2354418]hi:)  
I’ve been checking the Photo Gallery Using XML and Flash ([http://www.kirupa.com/developer/mx20...otogallery.htm](http://www.kirupa.com/developer/mx20...otogallery.htm)) and trying to modify it in some ways… is it possible to make the description text fade in and out like the images do? Or at least that the description text only appeared after the images has been loaded…  
Many thanks!

Gonçalo[/QUOTE]  
in the layer above desc\_txt create a mc, with the same colour as the background ,which covers up the textfield. Change this function to

```auto
this.onEnterFrame = function() {
	filesize = picture.getBytesTotal();
	loaded = picture.getBytesLoaded();
	preloader._visible = true;
	if (loaded != filesize) {
		preloader.preload_bar._xscale = 100*loaded/filesize;
	} else {
		preloader._visible = false;
		if (picture._alpha<100) {
			cover._alpha = 100-picture._alpha;
			picture._alpha += 10;
		}
	}
};

```

---

<div class="post-metadata">

**Author:** ![gmartins](https://avatars.discourse-cdn.com/v4/letter/g/8baadc/32.png) [@gmartins](https://forum.kirupa.com/u/gmartins)\
**Post date:** [July 8, 2008, 12:06am UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/10 "2008-07-08T00:06:14Z")

</div>

SUPERB!!!  
Many thanks stringy!

Gonçalo

---

<div class="post-metadata">

**Author:** ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)\
**Post date:** [July 8, 2008, 1:42pm UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/11 "2008-07-08T13:42:01Z")

</div>

no problem 😉

---

<div class="post-metadata">

**Author:** ![gllanci](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@gllanci](https://forum.kirupa.com/u/gllanci)\
**Post date:** [August 24, 2008, 5:34pm UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/180517/12 "2008-08-24T17:34:00Z")

</div>

please send it to me!

thnx
