4 Replies Latest reply on Sep 29, 2010 2:29 PM by Flex harUI

    I Unable to bind a data provider to a TREE component

    majester8425 Level 1

      I know this should be easy, but I am trying to switch the following

       

      myTree.dataProvider=event.result;

       

      to

       

      private var treeSource:XML;

      treeSource = event.result;

       

      myTree.dataProvider = treeSource

       

      BUT, no matter what XML type I use I keep getting a compilation error 1118: Implicit coercion of a value with static type Object to a possibly unrelated type XML. Obviously I am missing something.