Description
This component deals with displaying, editing, and formatting rich text.
It is a subclass of inputtext, and supports the inputtext API, plus
several methods for setting and getting the format of the text. Formats
are specified as textformat.
Details
Properties (2)
-
defaultformat
-
<attribute name="defaultformat" />
public var defaultformat;
The default format to use for inserted and typed text.
Flash support for default formatting of text is not reliable.
The default format will sometimes but rarely be observed. To ensure
that Flash uses the default format you want when the user types new
text, format the character after the insertion point.
See the example, also in test-richinputtext.lzx,
shows an example of using this trick.
-
text
-
<attribute name="text" type="html" />
The text that appears in the component.
LZX Synopsis
<class name="
richinputtext" extends="
LzInputText
">
<attribute name="
text
" type="
html" />
</class>