7 Replies Latest reply on Jul 13, 2006 4:31 AM by ckshah

    How to expand a Tree item?

      The Tree class has an "expandChildrenOf ()" method. But what type of Object do I give it?

      var xml:XML = <node >
      <node label="Music Videos">
      <node label="Rock"/>
      <node label="Punk"/>
      <node label="Metal"/>
      </node>
      </node>;

      this._tree = new Tree();
      this._tree.showRoot=false;
      this._tree.dataProvider =xml;;

      Say I want to open the "Music Videos" node. What object do I pass?

      this._tree.expandChildrenOf( ????? , true);

      All the documentation says is "Object".