Hi All,

I am doing bellow code for expand and selecte node of selected index
but its giving error..

i am doing this all stuff in createComplete = initTree();

 private function initTree():void
                {
                         if(_instanceMsg.arrMsgCenterInbndMsg != null){
                                var arrMsgInbndMsg:ArrayCollection =
_instanceMsg.arrMsgCenterInbndMsg as ArrayCollection;
                                 tree.expandItem( arrMsgInbndMsg.getItemAt(0), 
true);
                         tree.selectedIndex = 1;
                        }

                }


Error
Index '0' specified is out of bounds.

Please any one can help me on this

Thanks & Regards,
Bhaskar.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to