FlashTextEditor.setHTML

Availability

Flash Player 8
Flash Player 9(AS3 version)

Usage

myTextEditor.setHTML( htmlString:String, styled:Boolean, skipUndo:Boolean )

Parameters

htmlString - String. HTML string.
styled - Boolean.
skipUndo - Boolean.

Returns

Nothing.

Description

Method; sets the html text of the currently edited text field.

Example

The following code sets the html of the currently edited text field:

myTextEditor.setHTML( "<p>Hello <b>world!</b></p>" );