Like this?
From Jonkman's article: <http://www.macromedia.com/devnet/mx/director/articles/flash_in_directormx2004_03.html>
myTree = sprite(1)
rootNode = myTree.addTreeNode("Hello World")
rootNode.addTreeNodeAt(0, "Its a beautiful day!")~Mathew
Deane Venske wrote:
Before I forget :P
The documentation says the only way to build a tree is using XML data. So can we not create nodes in lingo? I like changing my icons for nodes sometimes on a per node basis. And using the treesprite xtra I do this on the fly while building the tree hierarchy.
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
