Setting the border alpha on a Spark DropDownList control in Flex 4
The following example shows how you can set the border alpha on a Spark DropDownList control’s popup menu in Flex 4 by setting the borderAlpha style.
<?xml version=”1.0″ encoding=”utf-8″?>
http://blog.flexexamples.com/2010/03/20/setting-the-border-alpha-on-a-sp… –>
Read the original here:
Setting the border alpha on a Spark DropDownList control in Flex 4
Selecting entire weeks in an MX DateChooser control in Flex 3
The following example shows how you can make the MX DateChooser control select entire dates in the calendar by listening for the change event and then setting the selectedRanges property.
<?xml version=”1.0″ encoding=”utf-8″?>
http://blog.flexexamples.com/2010/03/19/selecting-entire-weeks-in-an-mx-… –>
Excerpt from:
Selecting entire weeks in an MX DateChooser control in Flex 3
Setting the thumb color based on the current value of a Spark HSlider control in Flex 4
The following example shows how you can set the thumb color on a Spark HSlider control in Flex 4 by listening for the change and valueCommit events and setting the chromeColor style on the thumb skin part.
<?xml version=”1.0″ encoding=”utf-8″?>
http://blog.flexexamples.com/2010/03/19/setting-the-thumb-color-based-on… –>
Read the rest here:
Setting the thumb color based on the current value of a Spark HSlider control in Flex 4
Skinning the track on a Spark HSlider control in Flex 4
The following example shows how you can reskin the track on a Spark HSlider control in Flex 4 by creating a custom HSlider skin and specifying the track skin part’s skinClass style.
<?xml version=”1.0″ encoding=”utf-8″?>
See the rest here:
Skinning the track on a Spark HSlider control in Flex 4
Setting the line height on a Spark RichText control in Flex 4
The following example shows how you can set the line height on a Spark RichText control in Flex 4 by setting the lineHeight style.
<?xml version=”1.0″ encoding=”utf-8″?>
http://blog.flexexamples.com/2010/03/18/setting-the-line-height-on-a-spa… –>
Original post:
Setting the line height on a Spark RichText control in Flex 4
Setting the line height on a Spark RichText control in Flex 4
The following example shows how you can set the line height on a Spark RichText control in Flex 4 by setting the lineHeight style.
<?xml version=”1.0″ encoding=”utf-8″?>
http://blog.flexexamples.com/2010/03/18/setting-the-line-height-on-a-spa… –>
View original here:
Setting the line height on a Spark RichText control in Flex 4
Smoothing the background fill on an MX Panel container in Flex 3
The following example shows how you can apply smoothing to a background image fill on an MX Panel container in Flex 3 by extending the BitmapAsset class, setting the Boolean smoothing property, and setting the backgroundImage and backgroundSize styles.
<?xml version=”1.0″ encoding=”utf-8″?>
Read the original:
Smoothing the background fill on an MX Panel container in Flex 3
Checking that an item is selected in the Spark DropDownList control in Flex 4
The following example shows how you can check whether the user has selected an item in the Spark DropDownList control in Flex 4 by setting the Boolean requiresSelection property to true or using a NumberValidator to check the DropDownList control’s selectedIndex property is greater than -1.
<?xml version=”1.0″ encoding=”utf-8″?>
http://blog.flexexamples.com/2010/03/12/checking-that-an-item-is-selecte… –>
See the original post here:
Checking that an item is selected in the Spark DropDownList control in Flex 4
Preventing item selection in the Spark List control in Flex 4
The following example shows how you can prevent item selection in the Spark List control in Flex 4 by listening for the changing event and calling the preventDefault() method on the IndexChangeEvent event object instance.
<?xml version=”1.0″ encoding=”utf-8″?>
http://blog.flexexamples.com/2010/02/25/preventing-item-selection-in-the… –>
Continued here:
Preventing item selection in the Spark List control in Flex 4
Using embedded fonts with the MX AdvancedDataGrid control in Flex 4
The following example shows how you can use an embedded font with the MX AdvancedDataGrid control in Flex 4 by setting the embedAsCFF and fontFamily styles.
<?xml version=”1.0″ encoding=”utf-8″?>
http://blog.flexexamples.com/2010/02/24/using-embedded-fonts-with-the-mx… –>
Originally posted here:
Using embedded fonts with the MX AdvancedDataGrid control in Flex 4