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.
{ 0 comments }
Just a bunch of Adobe Flex Examples
Posts tagged as:
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.
{ 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.
{ 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.
{ 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.
{ 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.
{ 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.
{ 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.
{ 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.
{ 0 comments }