Hello Tracy, thanks for the tip, I got it working. Once I got everything in a handler function it was easier to debug and try somethings out. The problem cam down to putting the HierarchicalData declaration in the Handler function instead of in the mxml binding.
so this worked: private function XMLHandler(evt:ResultEvent):void { studList = new XMLListCollection(evt.result.studio); studHier = new HierarchicalData(evt.result.studio); txtArea.text = studList.toString(); } then this binding worked: ... dataProvider="{studHier}" and this didn't: dataProvider="{new as HierarchicalData(studList)}" although I had seen this last case used in one of the official Adobe Flex docs. I am not sure what the differnces are as I am still looking into it. be well, Hoyt --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > I can't help specifically, but I do advise strongly against binding > directly to lastResult. It is just too inflexible and too hard to > debug. Use a result handler function, so that you can examine your > result, or preprocess it, or put it in a collection of your choice, or > do anything that depends on the timing of the result. > > > > How do you know for sure exactly what your result data looks like? You > can't with that binding, and you must know exactly in order to build the > dataProvider expression and the column name specs. > > > > Tracy