User Guide
Customizing the Tree component (Flash Professional only) 1275
fontStyle
Both The font style: either "normal" or "italic". The
default value is
"normal".
fontWeight
Both The font weight: either "none" or "bold". The default
value is
"none". All components can also accept the
value
"normal" in place of "none" during a setStyle()
call, but subsequent calls to
getStyle() return "none".
textAlign
Both The text alignment: either "left", "right", or
"center". The default value is "left".
textDecoration
Both The text decoration: either "none" or "underline". The
default value is
"none".
textIndent
Both A number indicating the text indent. The default value
is 0.
defaultLeafIcon
Both The icon displayed in a Tree control for leaf nodes
when no icon is specified for a particular node. The
default value is
"TreeNodeIcon", which is an image
representing a piece of paper.
disclosureClosedIcon
Both The icon displayed next to a closed folder node in a
Tree component. The default value is
"TreeDisclosureClosed", which is a gray arrow
pointing to the right.
disclosureOpenIcon
Both The icon displayed next to an open folder node in a
Tree component. The default value is
"TreeDisclosureOpen", which is a gray arrow pointing
down.
folderClosedIcon
Both The icon displayed for a closed folder node in a Tree
component if no node-specific icon is set. The default
value is
"TreeFolderClosed", which is a yellow closed
file folder image.
folderOpenIcon
Both The icon displayed for an open folder node in a Tree
component if no node-specific icon is set. The default
value is
"TreeFolderOpen", which is a yellow open file
folder image.
indentation
Both The number of pixels to indent each row of a Tree
component. The default value is 17.
openDuration
Both The duration, in milliseconds, of the expand and
collapse animations. The default value is 250.
Style Theme Description