The following styles are valid for all ColdFusion Flash format form tags except for cfformitem tags with the following type attributes, which do not take style attributes:

  • html
  • space
    These styles do not cause errors when used in all other tags. However, many styles do not have any effect when used in some tags.

Style

Inh

Description

backgroundAlpha

N

Alpha (transparency) level of the SWF file or image defined by backgroundImage. Valid values range from 0 (transparent) to 100 (opaque). The default value is 100.

backgroundColor

Y

Format: color; background color of the control. Has no effect if specified in a cfform control tag, which uses the background-color style to control the color. Also ignored by cfinput tags of type button, img, submit, radio, and checkbox, because they are filled with the button face or other graphics.

backgroundDisabledColor

Y

Format: color; background color of components when disabled. The default value is ##EFEEEF (light gray).

backgroundSize

N

Scales the image specified by backgroundImage to different percentage sizes. By default, the value is auto, which maintains the original size of the image. A value of 100% stretches the image to fit the entire screen. Include the percent sign with the value.

barColor

Y

Format: color; color of the outer bar.

borderCapColor

Y

Format: color; outside left and outside right color for skins.

borderColor

Y

Format: color; black section of a three-dimensional border or the color section of a two-dimensional border.

borderSides

N

Bounding box sides. Only used when borderStyle="solid". Space-delimited string containing the sides of the border to show. Order is not important. The default value is "left top right bottom".

borderStyle

Y

Bounding box style. The possible values are:

  • inset (default)
  • none
  • outset
  • solid

borderThickness

N

Bounding box thickness. Only used when borderStyle="solid". The default value is 1.

color

Y

Format: color; text color of a component's label.

cornerRadius

N

Radius of component corners. The default value is 0.

disabledColor

Y

Format: color; color of the component if it is disabled.

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 are 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.

themeColor

Y

Format: color; background color of a component. The possible values are:

  • haloGreen
  • haloBlue
  • haloOrange
  • haloSilver

verticalGap

N

Format: length; number of pixels between children in the vertical direction.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy