creationComplete="initApp()"> public function initApp():void { myTree.setStyle("selectionDuration", 100); }