Hello Everyone,

I am desperately trying to open all branches of a tree component that has
been created via XML and Remoting.

Found this code out on the Internet but can't seem to get it to work.

function openFolders(Node){

elArbol.setIsOpen(Node,true);
var Nodes = Node.childNodes;

for (var i=0; i< Nodes.length; i++) {
if(Nodes.hasChildNodes()){
openFolders(Nodes);
}
}



}

The name of my Instance name of my tree component is this.main.myBM and the
openFolders function should be called like:

OpenFolders(main.myBM);


Any help would be greatly appreciated!

Martin :)



_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to