# Xml database and creating menus from created array object

**URL:** <https://forum.kirupa.com/t/xml-database-and-creating-menus-from-created-array-object/67027>\
**Category:** Uncategorized\
**Created:** [October 12, 2004, 12:44am UTC](https://forum.kirupa.com/t/xml-database-and-creating-menus-from-created-array-object/67027 "2004-10-12T00:44:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cocas](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@cocas](https://forum.kirupa.com/u/cocas)\
**Post date:** [October 12, 2004, 12:44am UTC](https://forum.kirupa.com/t/xml-database-and-creating-menus-from-created-array-object/67027/1 "2004-10-12T00:44:13Z")

</div>

hi!!  
(flash mx)  
I have created a xml based database, wich has all the info on an architect’s work, sorted by Menu, subMenu,

category, and then all the images in the category. Now i need to create a menu for that, i made arrays that look

like this:

folioData\*.main – wich is the Main menu, like PHOTOS  
folioData\*.projecto – wich is the sub Menu, like PERSONS  
folioData\*.subCatg – wich is the sub category like NUDES  
folioData\*.Imagem – wich is the picture(s), like nude1.jpg

How can I sort, my array in way to make an object Photos.Persons.nudes.image1

or create a menu that photos shows only the suItems in photos, then inside those (persons, landscapes,etc…) show

only the categorys (Persons – Nudes, fashion,etc…) and inside those show only the pictures relative to each one (

Persons – Nudes – nd1.jpg,nd2.jpg, etc.

Thanks

If you want to see an example here is the fla and xml files

[http://kokaj.no.sapo.pt/HELP.zip](http://kokaj.no.sapo.pt/HELP.zip)
