# Xml navigation

**URL:** <https://forum.kirupa.com/t/xml-navigation/13446>\
**Category:** Uncategorized\
**Created:** [February 13, 2003, 9:22am UTC](https://forum.kirupa.com/t/xml-navigation/13446 "2003-02-13T09:22:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbay](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@gbay](https://forum.kirupa.com/u/gbay)\
**Post date:** [February 13, 2003, 9:22am UTC](https://forum.kirupa.com/t/xml-navigation/13446/1 "2003-02-13T09:22:30Z")

</div>

hi all,  
ok, i have an swf loading into main movie. the swf is an xml list of my porfolio works. next to it i have another swf being loaded which will be screenshots of the work that the user has clicked on in the xml menu.  
my question is… how can i tell get teh right swf to load when the user clicks on an xml item? do i need to stick an id in an xml element? i’ve tried a few things, but as yet no cigar.

- D

---

<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:** [February 13, 2003, 10:24am UTC](https://forum.kirupa.com/t/xml-navigation/13446/2 "2003-02-13T10:24:30Z")

</div>

it depends how its all set up and what you are grabbing from and where you’re putting it exactly etc etc. Did you read [this](http://www.kirupaforum.com/showthread.php?s=&threadid=13697)?

---

<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:** [February 13, 2003, 11:23am UTC](https://forum.kirupa.com/t/xml-navigation/13446/3 "2003-02-13T11:23:44Z")

</div>

hi senocular,  
thx for replying so quickly!

no, i’m cool with getting xml into flash, displaying it etc… what i need to know is how i can pass an id from an item in the xml menu to the flash movie so it knows which swf to display (which pertains to the xml item).  
e.g  
if someone clicks the “case study 1” link which is an item being pulled out of an xml file, i need some code saying something like:

if ‘case study 1’ is clicked, load movie ‘caseStudy1.swf’ .

this is as far as i’ve got: xml is loaded into the main movie. stuck it in an array which loops through the xml file displaying a list of case studies. i want the user to be able to click on an list item to display relevany info.

ok, hope that makes it clear.

many thanks

- gBay

---

<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:** [February 13, 2003, 11:27am UTC](https://forum.kirupa.com/t/xml-navigation/13446/4 "2003-02-13T11:27:11Z")

</div>

theres an xml menu example in that thread that does that

---

<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:** [February 13, 2003, 12:24pm UTC](https://forum.kirupa.com/t/xml-navigation/13446/5 "2003-02-13T12:24:17Z")

</div>

oh is there? sorry, i should have read it more closely!  
cheers!

- gBay;)
