# Photo Gallery

**URL:** <https://forum.kirupa.com/t/photo-gallery/211723>\
**Category:** Uncategorized\
**Created:** [January 4, 2007, 4:00pm UTC](https://forum.kirupa.com/t/photo-gallery/211723 "2007-01-04T16:00:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IntC](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@IntC](https://forum.kirupa.com/u/IntC)\
**Post date:** [January 4, 2007, 4:00pm UTC](https://forum.kirupa.com/t/photo-gallery/211723/1 "2007-01-04T16:00:53Z")

</div>

Hi!

I’m making a photo gallery with this tutorial: [http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)  
But i need to make it this way, that it have categories. I want to make it like this:  
if u click the button it changes the category. It loads the pictures from a .xml file so i thought it would be best if there was many .xml files as categories. And it loads other category by clicking a button.  
I did get more info about making categories from irc:

[COLOR=DarkRed]\<category\>Flash\</category\> [COLOR=Black]\<-- add this to xml file[/COLOR]  
filter the xml data [/COLOR][COLOR=DarkRed]with a for loop[/COLOR][COLOR=DarkRed] [COLOR=Black]\<— change this on flash some way

Other thing: it would be good if the photos would ALWAYS sliding from left to right continously(if u see what i mean).  
I don’t know how to do this so please someone help me with that how can i do this photo gallery with categories using 1st way 2nd or some 3rd option [/COLOR][/COLOR]🙂
