It used to work fine before (in Flex 2.0). Now with Flex 2.0.1, it renders as shown below when we define depthColors attribute for Tree Component
If I find any workaround I will update this post. If you know a workaround please post it as a comment