You can try using tree.dataDescriptor.isBranch(tree.selectedItem, null);
This would return true if it is a folder. -Sreenivas --- In [email protected], "Mark" <[EMAIL PROTECTED]> wrote: > > I have a Tree that has 2 levels, 1- the folder level, 2- the document level (pretty basic). When > the user clicks the document I want to show additional information in a text field. So I > binded the text field to the tree. When you click the document level you get the info, but if > you click a folder you get an error. So I suppose I need to do it with ActionScript, which I'm > okay with but I don't know how to determine if the user clicked a folder or a document, I > can't seem to find this in the help files. Can anyone help with this? >

