views:

101

answers:

0

Component: mx.controls.RichTextEditor

Platform: Flex 4

Player: Flash 10

Scenarios:

  • A user selects text a clicks a button that I can easily add to the RichTextEditor. The selected text becomes superscripted (or subscripted).

  • A user clicks the button and future text is superscripted until the button is clicked again.

The most fundamental problem I have is: how do I make text superscripted? I have tried using <sup></sup>, but that didn't work. This has to work in the specified component. If I need to change components I will--albeit reluctantly.