User Guide
Styles valid for all controls 935
dropShadow N Format: Boolean; controls the visibility of the component's drop
shadow. The default value is false. This style must be used with
borderStyle="solid". For drop shadows to appear on containers,
set backgroundColor or backgroundImage. Otherwise, since the
default background of a container is transparent, the shadow
appears behind the container.
errorColor Y Format: color; color of the error text.
fillColors N Format: color; colors used to tint the background of the control.
Pass the same color for both values for "flat" looking control. The
default value is ##E6EEEE,##FFFFFF.
fontFamily Y Comma-separated list of fonts to use, in descending order of
desirability. You can use any font family name. If you specify a
generic font name, it is converted to an appropriate device font.
Flash can only use fonts that are installed on the client system.
fontSize Y Format: length; size of the text.
fontStyle Y Determines whether the text is italic. Recognized values are normal
and italic. The default value is normal.
fontWeight Y Determines whether the text is bold. Recognized values are normal
and bold. The default value is normal.
highlightColor Y Format: color; color of the control when it is in focus.
horizontalGap N Format: length; number of pixels between children in the horizontal
direction.
leading N Additional vertical space between lines of text. The default value is
no leading.
marginLeft N Format: length; number of pixels between the container’s left
border and its content area.
marginRight N Format: length; number of pixels between the container’s right
border and its content area.
scrollTrackColor Y Format: color; scroll track for a scroll bar. The default value is
##EFEEEF (light gray).
selectedFillColors N Format: colors; two colors used to tint the background of the
control when in its selected state. Pass the same color for both
values for "flat" looking control. The default value is undefined,
which means the colors will be derived from themeColor.
textAlign Y Aligns text in a container. Recognized values are left, right, and
center. The default value is right.
textDecoration N Determines whether the text is underlined or not. Recognized
values are none and underline. The default value is none.
textIndent Y Format: length; offset of first line of text from the left side of the
container. The default value is 0.
Style Inh Description