The following example shows how you can toggle the nested text field in a ColorPicker control’s swatch panel in Flex by setting the showTextField property.
Full code after the jump.
Continue reading ‘Toggling the text field in a Flex ColorPicker control’
The following example shows how you can add custom context menu commands to a RichTextEditor control in Flex by setting the contextMenu property.
Full code after the jump.
Continue reading ‘Creating a custom context menu on a RichTextEditor control in Flex’
The following example shows how you can change the appearance of the close button in a TitleWindow container in Flex by setting the closeButtonSkin style (or the closeButtonUpSkin, closeButtonOverSkin, closeButtonDownSkin, closeButtonDisabledSkin styles individually).
Full code after the jump.
Continue reading ‘Changing the close button skin on a Flex TitleWindow container’
The following example shows you how you can toggle the close button in a TitleWindow container in Flex by setting the showCloseButton property.
Full code after the jump.
Continue reading ‘Toggling the close button in a Flex TitleWindow container’
The following example shows how you can change the style name for the Flex RichTextEditor control to the predefined “.opaquePanel” style, by setting the styleName property on the RichTextEditor.
Full code after the jump.
Continue reading ‘Changing the RichTextEditor control’s style name in Flex’
It seems that I’ve covered this before, “Toggling the control bar in a Flex RichTextEditor control”, but here is another useful way to toggle the control bar in a Flex RichTextEditor control. The following example shows how you can toggle the RichTextEditor control’s control bar by moving the mouse cursor over or out of the RichTextEditor instance.
Full code after the jump.
Continue reading ‘Toggling the control bar in a Flex RichTextEditor control (redux)’
The following example shows how you can customize the appearance of the ColorPicker control’s nested text field in Flex 3 by setting the textFieldStyleName style.
Full code after the jump.
Continue reading ‘Changing the ColorPicker control’s nested text field styles in Flex 3′
The following example shows how you can set the swatch grid background color on a Flex 3 ColorPicker control by setting the swatchGridBackgroundColor style. You can also see how you can set the horizontalGap, and verticalGap styles using CSS.
Full code after the jump.
Continue reading ‘Changing the swatch grid background color for a ColorPicker control in Flex 3′
The following example shows how you can set the swatch highlight size on a Flex 3 ColorPicker control by setting the swatchHighlightSize style. You can also see how you can set the swatchBorderColor, swatchBorderSize, and swatchHighlightColor styles using CSS.
Full code after the jump.
Continue reading ‘Changing the swatch highlight size for a ColorPicker control in Flex 3′
The following example shows how you can set the swatch border size on a Flex 3 ColorPicker control by setting the swatchBorderSize style.
Full code after the jump.
Continue reading ‘Changing the swatch border size for a ColorPicker control in Flex 3′
The following example shows how you can style the vertical scroll bar on a ComboBox control in Flex 3 by setting the dropdownStyleName style and verticalScrollBarStyleName style.
Full code after the jump.
Continue reading ‘Styling a Flex 3 ComboBox control’s vertical scroll bars’
The following example shows how you can change the default calendar icon that appears in a DateField control in Flex by setting the skin style.
Full code after the jump.
Continue reading ‘Changing the default calendar icon in a Flex DateField control’
The following example shows you how you can change the ColorPicker control’s background color in Flex 3 by setting the backgroundColor style using CSS and ActionScript.
Full code after the jump.
Continue reading ‘Changing the Flex ColorPicker control’s swatch panel background color’
The following example shows how you can set the fontWeight style on a Flex DateChooser control to change whether each day in the calendar appears as normal or bold font.
Full code after the jump.
Continue reading ‘Setting font weight on a Flex DateChooser control’
The following example shows how you can customize the background color of the DateChooser control’s header in Flex by setting the headerColors style.
Full code after the jump.
Continue reading ‘Changing the header colors of a Flex DateChooser control’