well i didn't check for your answer sooner and in the meantime i found another (more complex) workaround. I created a var called "isClicked" in the CellRenderer and inside the TreeCellRenderer i have an
if statement that renders a different color based on this boolean var. So in my click handler i just do:
ActionScript Code:
var cr:TreeCellRenderer = mainMenu.myTree.itemToCellRenderer(e.item) as TreeCellRenderer;
cr.isClicked = true;
then store in a variable the last node clicked and in the next click i set the previousNode.isClicked to false and the new node to true...
I figured it had to be with a variable inside the cellRenderer cause no matter what color i set it to,
in the next redraw (click) it was reset to the cellRenderer's default.
As far as i'm concerned this is done for me. It might be overkill, but since it works, it's okay for this project. However if you need anything else feel free to ask.Thanx for your attention and of course for the component

(next version: animation)