![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.
my_txt
.replaceSel(text
)
text
A string.
Nothing.
Method; replaces the current selection with the contents of the text
parameter. The text is inserted at the position of the current selection, using the current default character format and default paragraph format. The text is not treated as HTML, even if the text field is an HTML text field.
You can use the replaceSel()
method to insert and delete text without disrupting the character and paragraph formatting of the rest of the text.
You must use Selection.setFocus()
to focus the field before issuing this command.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |