From the category archives:

RichTextEditor

The following example shows how you can remove controls from the MX RichTextEditor control by removing the controls from the display list and resizing the linkTextInput TextInput control.

[click to continue…]

{ 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.

[click to continue…]

{ 3 comments }

The following example shows how you can set the background color of the Flex RichTextEditor control’s nested TextArea control by setting the backgroundColor style.

Full code after the jump.

[click to continue…]

{ 4 comments }

In a previous example, “Condensing HTML white space in the TextArea control in Flex”, we looked at how you could condense HTML formatted text in a TextArea control by setting the condenseWhite property.

The following example shows you how you can condense white space around HTML tags using the Flex RichTextEditor control, the htmlText property, and the condenseWhite property.

Full code after the jump.

[click to continue…]

{ 7 comments }

The following example shows how you can set the letter spacing in a Flex RichTextEditor control by setting the textAreaStyleName and letterSpacing styles.

Full code after the jump.

[click to continue…]

{ 0 comments }

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.

[click to continue…]

{ 0 comments }

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.

[click to continue…]

{ 0 comments }

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.

[click to continue…]

{ 0 comments }

Hiding nested controls in a Flex RichTextEditor control (remix)

by Peter deHaan December 4, 2007

In a previous example, Hiding nested controls in a Flex RichTextEditor control, we looked at how you could hide and remove the nested link text input control within a RichTextEditor control in Flex. The following example extends the example somewhat by allowing you to remove any of the nested controls (including the VRule controls) in [...]

Read the full article →

Hiding nested controls in a Flex RichTextEditor control

by Peter deHaan November 23, 2007

The following example shows you how you can toggle the RichTextEditor control’s nested link text input by setting both the visible and includeInLayout properties of the control.
Full code after the jump.

Read the full article →

Populating the nested font family ComboBox control in a Flex RichTextEditor control

by Peter deHaan November 23, 2007

The following example shows you how you can edit the font family combo box in the RichTextEditor control in Flex.

Read the full article →

Toggling the control bar in a Flex RichTextEditor control

by Peter deHaan November 21, 2007

The following example shows how you can toggle the RichTextEditor component’s control bar using the showControlBar property.
Full code after the jump.

Read the full article →