|
|
|||
Flash Player 8
Flash Player 9(AS3 version)
myTextEditor.setHTML( htmlString:String, styled:Boolean, skipUndo:Boolean )
htmlString - String. HTML string.
styled - Boolean.
skipUndo - Boolean.
Nothing.
Method; sets the html text of the currently edited text field.
The following code sets the html of the currently edited text field:
myTextEditor.setHTML( "<p>Hello <b>world!</b></p>" );