There are icons asigned to Tree control for folderOpen, folderClose and for leaf nodes.The folder icon for folder open and close and one leaf icon.What if i want to change this default icons of Tree control.. its simple !.
The properties we got to use here is that:
folderOpenIcon -> for folder Open.
folderClosedIcon ->for folder close.
defaultLeafIcon ->for leaf icon.
<mx:Tree x=”10″ y=”10″ folderOpenIcon=”@Embed(‘images/fopen’)” ></mx:Tree>
Similarly for other properties..!