hi,
I have a Tree komponent which structure is created from an xml file. I want to display/save in XMLList all children nodes and their attributes whenever parent node is selected. I’m trying to use selectedItem with children() but it doesnt work and I get an error value is not a function.
myTree.addEventListener(Event.CHANGE, itemChange);
function itemChange(e:Event):void
{
//var myList:XMLList = e.target.selectedItem.children();
trace(e.target.selectedItem.children());