Tag Archives: contentBackgroundAlpha

Setting the content background alpha a Spark List control in Flex 4

In a previous example, “Hiding the border on a Spark List control in Flex 4”, we saw how you could toggle the border visibility on a Spark List control in Flex 4 by setting the Boolean borderVisible style.

The following example shows how you can set the content background alpha on a Spark List control in Flex 4 by setting the contentBackgroundAlpha style to a number between 0.0 and 1.0.

Continue reading Setting the content background alpha a Spark List control in Flex 4

Displaying a semi-transparent FLV file in an MX VideoDisplay control in Flex 4

In a previous example, “Displaying a semi-transparent FLV file in an MX VideoDisplay control in Flex”, we saw how you could display an FLV file with alpha channel transparency in an MX VideoDisplay control in Flex 3 by setting the backgroundAlpha style to 0.

The following example shows how you can display an FLV file with alpha channel transparency in an MX VideoDisplay control in Flex 4 by setting the contentBackgroundAlpha style to 0.

Full code after the jump.

Continue reading Displaying a semi-transparent FLV file in an MX VideoDisplay control in Flex 4