|
|
|||
Flash Player 8
Flash Player 9(AS3 version)
myTextEditor.toggleHTML( styled:Boolean, indent:Boolean )
styled - Boolean. If this value is true, component will toggle with clean HTML string.
indent - Boolean. If this value is true, HTML string will be indented.
Nothing.
Method; toggles between normal and code view of the currently edited text field.
The following code toggles HTML view
myTextEditor.toggleHTML();