I am using Flex tree with XMLList Collection as dataprovider. I want to update the label displayed on the branches with some default value upon some event(like clicking some buttton etc). There are ton of expamples on adding /removing leaf nodes or children, but I couldn't find or figure it out how to replace the branch label.
Any help or suggestion on this is highly appreciated. For example on this sample code how to change the names for Inbox and OutBox.