FlashTextEditor.insert

Availability

Flash Player 8
Flash Player 9(AS3 version)

Usage

myTextEditor.insertChars( str:String, html:Boolean )

Parameters

str - String to insert.
html - Boolean. A Boolean value that specifies whether the strins should be inserted as HTML(true)

Returns

Nothing.

Description

Method. Inserts the characters at the position of caret.

Example

The following code will insert word 'hello' at the position of caret at targeted text field:

myTextEditor.insertChars( "hello" );