News by Peter deHaan

Setting the icon color on a ComboBox control’s dropdown menu in Flex

6 Jul 04:28
In a previous example, “Setting the icon color on a ComboBox control in Flex”, we saw how you could set the icon (arrow) color on a Flex ComboBox control by setting the iconColor style. The following example shows how you can set the icon color of the arrow icons in the Flex ComboBox control’s dropdown menu [...

Creating a variable row height item renderer on a ComboBox control in Flex

5 Jul 16:58
The following example shows how you can create a variable row height item renderer on a Flex ComboBox control by setting the variableRowHeight property on the ComboBox control’s dropdown property. Full code after the jump.

Setting the icon color on a ComboBox control in Flex

4 Jul 11:41
The following example shows how you can set the icon (arrow) color on a Flex ComboBox control by setting the iconColor style. Full code after the jump.

Setting the width of the dropdown menu on a ComboBox control in Flex

3 Jul 16:51
The following example shows how you can set the width of the dropdown menu on a Flex ComboBox control by setting the dropdownWidth property. Full code after the jump.

Formatting scroll tips on a ComboBox control in Flex

2 Jul 16:56
In a previous example, “Displaying scroll tips on a ComboBox control in Flex”, we saw you can toggle scroll tips on a Flex ComboBox control’s dropdown menu by setting the showScrollTips and dropdown properties. The following example shows you how you can format the scroll tip on a Flex ComboBox control by setting the scrollTipFunction property [...

Displaying scroll tips on a ComboBox control in Flex

2 Jul 16:51
The following example shows how you can toggle scroll tips on a Flex ComboBox control’s dropdown menu by setting the showScrollTips property on the ComboBox control’s dropdown property. Full code after the jump.

Playing a sound effect when a ProgressBar control completes in Flex

1 Jul 16:55
In a previous example, “Setting a complete effect on a ProgressBar control in Flex”, we saw how you could apply an effect that plays once a Flex ProgressBar control completes (reaches 100%). The following code shows how you can play an embedded sound effect once a Flex ProgressBar control completes using the mx.effects SoundEffect class and [...

Setting a complete effect on an Image control in Flex

30 Jun 16:51
The following example shows how you can add a complete effect on a Flex Image control by setting the completeEffect effect using MXML, CSS, or ActionScript. Full code after the jump.

Preventing an image from automatically loading in an Image control in Flex

30 Jun 11:24
The following example shows how you can prevent the Flex Image control to automatically loading an image when setting the Image control’s source property by setting the autoLoad property to false and then explicitly loading the image using the load() method. Full code after the jump.

Maintaining an image’s aspect ratio on an Image control in Flex

29 Jun 16:56
The following example shows how you can maintain a loaded image’s original aspect ratio on a Flex Image control by setting the maintainAspectRatio property. Full code after the jump.
Pages   ← previous   next