0 Replies Latest reply on Feb 11, 2009 5:51 AM by Dell9300

    Linking "Tree" folders with frames - Possible at all? Help is very appriciated

    Dell9300
      Heey!

      I'm working on a small project for the game-guild I'm in - Making a small swf in which you can find items in the new expansion.

      The thing is; So far I've been doing quite well used the object called "Tree" - because I think I gives a great overview after all. So what I got is an .swf file which for the Tree gathers the information from an .xml file - No idea why you need an .xml for it to put there - but the tutorial showed and it seems to work quite easy. But! Now here comes the tricky part - really hope this is possible - how do I when I have found the content in the "Tree" which I want to see how do I link that to a frame? E.g: Click the little plus next to Food -> Opens a some new possibilities, now I click the small plus next to apple -> And then I can choose Red Apple, Green Apple, Yellow Apple. (Food -> Apple -> Green Apple) At the moment when I click green apple nothing happens of coure, but how do I link it to for example frame 2? Or would there be an easier why than using frames? I expect something like when you click "Green apple" you can see the picture and then some small info about it.

      The .xml file looks like this:
      <?xml version="1.0" encoding="iso-8859-1"?>
      <node label = "Armour">
      <node label = "Boots">
      <node label = "Stone-reader's Shoes"/>
      <node label = "Shoes of the Mighty Verse"/>
      </node>
      <node label = "Chests">
      <node label = "Robe of the Mighty Verse"/>
      <node label = "Stone-reader's Robe"/>
      </node>
      <node label = "Cloaks">
      <node label = "Feanor"/>
      <node label = "Pendevig-clog"/>
      </node>
      <node label = "Gloves">
      <node label = "Gloves of the Mighty Verse"/>
      <node label = "Stone-reader's Gloves"/>
      </node>
      <node label = "Helmets">
      <node label = "Beleghar"/>
      <node label = "Saelhar"/>
      </node>
      <node label = "Leggins">
      <node label = "Stone-reader's Trousers"/>
      <node label = "Trousers of the Mighty Verse"/>
      </node>
      <node label = "Shoulders">
      <node label = "Baladhranc"/>
      <node label = "Mayor's Arms"/>
      </node>
      </node>
      <node label = "Class">
      <node label = "Burglar">
      </node>
      <node label = "Captain">
      </node>
      <node label = "Champion">
      </node>
      <node label = "Guardian">
      </node>
      <node label = "Hunter">
      </node>
      <node label = "Minstrel">
      </node>
      <node label = "Rune-keeper">
      </node>
      <node label = "Warden">
      </node>
      </node>
      <node label = "Instance">
      <node label = "16th Halls">
      </node>
      <node label = "Dark Delvings">
      </node>
      <node label = "Fil Gashan">
      </node>
      <node label = "Forges of Khazad...">
      </node>
      <node label = "Forgotten Treasury">
      </node>
      <node label = "Grand Stairs">
      </node>
      <node label = "New Devilry">
      </node>
      <node label = "Skumfil">
      </node>
      <node label = "The Vile Maw">
      </node>
      </node>
      <node label = "Jewellery">
      <node label = "Bracelets">
      </node>
      <node label = "Earrings">
      </node>
      <node label = "Necklaces">
      </node>
      <node label = "Pocket Items">
      </node>
      <node label = "Rings">
      </node>
      </node>

      ----------------------------------
      I chose to delete the small text window showing what you clicked on the tree - Just so you know - Since the code might seem to have some unrequired sentences.
      http://www.ultrashock.com/tutorials/flashmx2004/ui-components16.php - This is the tutorial I used for making it.

      Thank you so much in advance!