Category Archives: beta1

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

Setting the control bar layout on a Spark Application container in Flex 4

In a previous example, “Adding a control bar to a Spark Application container in Flex 4”, we saw how you could add a control bar to a Spark Application container in Flex 4 by setting the controlBarContent property.

The following example shows how you can change the layout direction of a control bar in a Spark Application container in Flex 4 by setting the controlBarLayout property.

Full code after the jump.

Continue reading Setting the control bar layout on a Spark Application container in Flex 4