0 Replies Latest reply on Aug 28, 2006 1:30 AM by Tyaneus

    Tree component

    Tyaneus
      Hi,
      I'm trying to use the Tree component as a menu navigation for a small multimedia project which is based on the Flash slide presentation. The tree is populated from an external .xml file where every node has a url attribute corresponding to a slide.

      eg.
      <node label="Foo" isBranch="true" url="slide3"/>

      On the treeListener i've included the following code.

      var foo = evt.target.selectedNode.attributes.url;
      _level0.presentation.gotoSlide(_level0.presentation[foo]);

      This works fine IF the slide i would like to jump to is a child of Presentation. If i try to use nested slides e.g slide3.slide4 as a url attribute the above won't work. Is there a way to jump to the desired screen by passing to _level0.presentation a var holding "slide3.slide4" (it works if var holds only "slide3") ?

      Thanks in advance