0 Replies Latest reply on Oct 9, 2006 9:22 AM by trycold

    dataprovider for tree

    trycold Level 1
      Hi,

      I have a string which have a valid xml text. The string i am getting from a cfc. How do i use the string to use as a dataprovider for tree. i have done the same in flex 1.5 there I used to do like this:

      displayTree = result;
      var xmlDP:XML = mx.utils.XMLUtil.createXML(displayTree);
      mx.core.Application.application.myTree.dataProvider = xmlDP;

      How do I do this in flex 2.0?

      thanks