Data Model Flex


    creationComplete="initApp()">
    
        public function initApp():void {
            myTree.setStyle("depthColors",[0xFFCC33, 0xFFCC99, 0xCC9900]);
            myTree.setStyle("alternatingItemColors",["red", "green"]);
        }