FlashTextEditor.toggleHTML

Availability

Flash Player 8
Flash Player 9(AS3 version)

Usage

myTextEditor.toggleHTML( styled:Boolean, indent:Boolean )

Parameters

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.

Returns

Nothing.

Description

Method; toggles between normal and code view of the currently edited text field.

Example

The following code toggles HTML view

myTextEditor.toggleHTML();