Posts tagged as:

backgroundAlpha

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

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the background alpha and background color on a Spark SimpleText control in Flex 4 by setting the backgroundAlpha and backgroundColor styles.

Full code after the jump.

[click to continue…]

{ 1 comment }

The following example shows how you can set the background alpha on the Halo TextArea control’s Spark skin in Flex 4 by setting the borderSkin style. As you may have noticed, the Halo components have new “Spark” themed skins in Flex 4 (basically so you can use Halo+Spark components in the same Flex project and have a consistent look-and-feel). You may also have noticed that several styles on the Halo controls don’t appear to work any more when using the Spark skins. For example, if you want to change the background fill alpha on the Halo TextArea control in Flex 4, you can no longer set the backgroundAlpha style, you’ll now need to create a custom skin and set the borderSkin style.

The various Halo component’s new Spark skins can be found in your Flex 4 SDK installation in the following location: <Flex SDK>\frameworks\projects\sparkskins\src\mx\skins\spark\…

If you want to set the border skin on the Halo TextArea control, you’ll need to copy the TextInputBorderSkin.mxml file.

Full code after the jump.

[click to continue…]

{ 1 comment }

In a previous example, Setting the background color of the RichTextEditor text area in Flex, we saw how you could set the background color of the RichTextEditor control’s nested TextArea control by setting the backgroundColor style.

The following example shows how you can set the background alpha of the Flex RichTextEditor control’s nested TextArea control by setting the backgroundAlpha style.

Full code after the jump.

[click to continue…]

{ 3 comments }

The following example shows how you can set the background alpha for a Flex TextArea control by setting the backgroundAlpha style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the background color and background alpha for a Flex NumericStepper control by setting the backgroundColor and backgroundAlpha styles.

Full code after the jump.

[click to continue…]

{ 2 comments }

The following example shows how you can change the background color of a Flex DateChooser control by setting the backgroundColor and backgroundAlpha styles.

Full code after the jump.

[click to continue…]

{ 4 comments }

In a previous example, “Setting the background color on a VideoDisplay control in Flex”, we saw how you could modify the background color of a VideoDisplay control in Flex by setting the backgroundColor style.

The following example shows how you can set the background alpha on a Flex VideoDisplay control by setting the backgroundAlpha style.

Full code after the jump.

[click to continue…]

{ 0 comments }

Setting the background alpha on a Panel container in Flex

by Peter deHaan March 12, 2008

In a previous example, “Setting the border alpha on a Panel container in Flex”, we saw how you could change a panel’s border alpha by setting the borderAlpha style.
The following example shows how you can set the background alpha on a Flex Panel container by setting the backgroundAlpha style.
Full code after the jump.

Read the full article →

Setting the background alpha and background color of a DataGrid control in Flex

by Peter deHaan March 6, 2008

The following example shows how you can set the background alpha and background color of a Flex DataGrid control by setting the backgroundAlpha and backgroundColor styles.
Full code after the jump.

Read the full article →

Creating semi-transparent PopUpButton pop up menus in Flex

by Peter deHaan January 30, 2008

The following example shows you how you can create semi-transparent pop up menus using the Flex PopUpButton control by setting the backgroundAlpha, backgroundColor, and borderStyle styles on the pop up menu.
Full code after the jump.

Read the full article →

Setting the background color and background alpha on a Flex LinkBar control

by Peter deHaan January 21, 2008

The following example shows how you can change the background color and background alpha on a LinkBar control in Flex by setting the backgroundColor and backgroundAlpha styles using either MXML, ActionScript, or CSS.
Full code after the jump.

Read the full article →