Archive for December 31st, 2007

31
Dec

Toggling the text field in a Flex ColorPicker control

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’

31
Dec

Creating a custom context menu on a RichTextEditor control in Flex

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’

31
Dec

Changing the close button skin on a Flex TitleWindow container

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’

31
Dec

Toggling the close button in 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’

31
Dec

Changing the RichTextEditor control’s style name in Flex

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’

31
Dec

Toggling the control bar in a Flex RichTextEditor control (redux)

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)’