# Xml gallery

**URL:** https://forum.kirupa.com/t/xml-gallery/184770
**Category:** Uncategorized
**Created:** [April 7, 2006, 4:43pm UTC](https://forum.kirupa.com/t/xml-gallery/184770 "2006-04-07T16:43:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![geestring](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@geestring](https://forum.kirupa.com/u/geestring)
#### Post date: [April 7, 2006, 4:43pm UTC](https://forum.kirupa.com/t/xml-gallery/184770/1 "2006-04-07T16:43:11Z")

</div>

ok I’ve decided to make xml gallery in flash. I’ve seent he tutorials and other peoples galleries… in xml you have to have code pointing to each image in a folder?

Can’t I have some code that just takes all images in the folder and places them in the gallery?  
So let’s say I have 100 images I wouldnt have to make a 100 statements… unless doing that is easier…

---

<div class="post-metadata">

### Author: ![Ankou](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ankou/32/1351_2.png) [@Ankou](https://forum.kirupa.com/u/Ankou)
#### Post date: [April 7, 2006, 7:56pm UTC](https://forum.kirupa.com/t/xml-gallery/184770/2 "2006-04-07T19:56:03Z")

</div>

If I understand what you’re asking correctly, yeah I would think you could just put all the images into a directory and have flash read the directory and the files in it. I’m not really a “flasher” but I would imagine it’s possible.

I think it all depends on what you’re doing. If you’re just using flash to display image I don’t see what you can’t read the images from a directory. But if you wanted to add captions to the images, make them linked to a page or whatever - then the XML method would allow you more options for the gallery.

But like any project, it’s all a matter of what your needs are.

---

<div class="post-metadata">

### Author: ![takethetrain](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@takethetrain](https://forum.kirupa.com/u/takethetrain)
#### Post date: [April 9, 2006, 2:13pm UTC](https://forum.kirupa.com/t/xml-gallery/184770/3 "2006-04-09T14:13:31Z")

</div>

this does exactly what you are asking:

[http://www.airtightinteractive.com/simpleviewer/](http://www.airtightinteractive.com/simpleviewer/)
