Tag Archives: borderColor

Setting the border color on the MX Accordion container headers in Flex

In a previous example, “Setting the border style on the MX Accordion container in Flex”, we saw how you could set the border style on an MX Accordion container in Flex 3 by setting the borderStyle style.

The following example shows how you can set the border color on an MX Accordion container headers in Flex 3 by setting the borderColor style on the Accordion container’s headerStyleName style selector.

Continue reading Setting the border color on the MX Accordion container headers in Flex

Setting the border color on a Spark DropDownList control in Flex 4

In a previous example, “Setting the border alpha on a Spark DropDownList control in Flex 4”, we saw how you could set the border alpha on a Spark DropDownList control’s popup menu in Flex 4 by setting the borderAlpha style.

The following example shows how you can set the border color on a Spark DropDownList control’s popup menu in Flex 4 by setting the borderColor style.

Continue reading Setting the border color on a Spark DropDownList control in Flex 4

Setting the border alpha on a Spark Border container in Flex 4

In a previous example, “Setting the border color on a Spark Border container in Flex 4”, we saw how you could set the border color on a Spark Border container in Flex 4 by setting the borderColor style.

The following example shows how you can set the border alpha on a Spark Border container in Flex 4 by setting the borderAlpha style.

Full code after the jump.

Continue reading Setting the border alpha on a Spark Border container in Flex 4

Dynamically styling error tips in Flex

In a previous example, “Changing the background color of an error tip in Flex”, we saw how you could change the background color of a Flex error tip by setting the borderColor style on the .errorTip CSS selector.

The following example shows how you can style the Flex .errorTip style dynamically using ActionScript using the static StyleManager.getStyleDeclaration() and setStyle() methods.

Full code after the jump.

Continue reading Dynamically styling error tips in Flex

Setting the dropdown menu border thickness and border color on a ComboBox control in Flex

The following example shows how you can set the border color and border thickness on a Flex ComboBox control’s dropdown menu by setting the borderColor, borderThickness, and dropdownStyleName styles.

Full code after the jump.

Continue reading Setting the dropdown menu border thickness and border color on a ComboBox control in Flex