Here is my tree definition:
<mx:Tree id="customerTree" fontSize="11" width="100%" height="99%"
                                    labelField="@name" textAlign="left" 
                                    creationComplete="userNavigation(3, 
customerTree)"
                                    itemClick="itemClickEvt(event);"
                                    showRoot="false" 
borderStyle="solid" borderThickness="1">
                                </mx:Tree>
and here is itemClickEvt:
private function itemClickEvt(event:ListEvent):void 
                        {
trace(event.currentTarget.selectedItem);
// empty when a node with no children is clicked.
}
Is that right?

Reply via email to