User Guide

Table Of Contents
702 Chapter 29: Creating Forms in Macromedia Flash
Color format
You define color values, such as those for the
backgroundColor style, in the following formats:
Some styles support only the hexadecimal color format.
Some controls accept multiple colors. For example, the tree controls
depthColors style property
can use a different background color for each level in the tree. To assign multiple colors, use a
comma-delimited list, as the following example shows:
style="depthColors: ##EAEAEA, ##FF22CC, ##FFFFFF"
About Flash form style applicability and inheritance
Because of the way Flash control styles are implemented, some common styles are valid, but have
no effect, in some tags. Therefore, in the table in “Styles valid for all controls” in Chapter 4,
“ColdFusion MX Flash Form Style Reference” in CFML Reference, the listed styles do not cause
errors when used in controls, but might not have any effect.
Styles can be inheritable or noninheritable. If a style is noninheritable, it only affects the tag, and
does not affect any of its children. For example, to maintain a consistent background color in an
hbox form group and its children tags, you must specify the color in all tags. If a style is
inheritable, it applies to the tag and its children.
Format Description
hexadecimal Hexadecimal colors are represented by a six-digit code preceded by two number sign
characters (##). Two # characters are required to prevent ColdFusion from
interpreting the character. The range of possible values is
##000000 to ##FFFFFF.
VGA color
names
VGA color names are a set of 16 basic colors supported by all browsers that support
CSS. The available color names are
Aqua, Black, Blue, Fuchsia, Gray, Green, Lime,
Maroon, Navy, Olive, Purple, Red, Silver, Teal, White, and Yellow. Some browsers
support a larger list of color names. VGA color names are not case-sensitive.