I am creating a custom treeitemrenderer in Flex 3, and I would like to be able to expand a branch node when it is clicked, instead of forcing the user to click the disclosure icon. This seems like it should be easy to me, but I have searched google, et. al. and found no solution from within the treeitemrenderer. I have found a solution within the mxml file that operates on the tree, but requires selectable to be true, which I would love if it could be false. Here's the code that works, but not from inside the treeitemrenderer:
private function tree_itemClick(evt:ListEvent):void
var item:Object = Tree(evt.currentTarget).selectedItem;
estItems.expandItem(item, !estItems.isItemOpen(item), true);
<mx:Tree name="testTree" id="estItems"
PS. I can post the swf url if needed.