I was reading blog.flexexamples and i saw an example of what i need.
But it was quite exactly.

The following example is Opening nodes on a tree control.

http://blog.flexexamples.com/2007/11/29/opening-nodes-in-a-flex-tree-control-using-the-expanditem-method/

What i need is basically the same thing but using a different source.

in the example above it uses

var node:XMLList = mlb.league.division.team.(@label == team);

to get the list.

If i try to change based on the dataProvider XML it wont work although
i traced and it seems to get the right data.

var node:XMLList = XML(tree.dataProvider).league.division.team.(@label
== team);

any one would know how to explain why it happen?

Thanks in advanced
Raf


Reply via email to