<event.itemRenderer.data
I dont think this data property.
Actually I am trying to get selected object reference.

--- In flexcoders@yahoogroups.com, "markgoldin_2000" 
<[EMAIL PROTECTED]> wrote:
>
> 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