TextField.removeTextField()
Availability
Flash Player 6.
Usage
my_txt.removeTextField()
Description
Method; removes the text field specified by
text field that was created with
text field is removed. This method is similar to
TextField.replaceSel()
Availability
Flash Player 6.
Usage
my_txt.replaceSel(text)
Parameters
A string.
text
Returns
Nothing.
Description
Method; replaces the current selection with the contents of the
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
and paragraph formatting of the rest of the text.
You must use
Selection.setFocus()
See also
Selection.setFocus()
698
Chapter 12: ActionScript Dictionary
MovieClip.createTextField()
method to insert and delete text without disrupting the character
replaceSel()
. This operation can only be performed on a
my_txt
MovieClip.removeMovieClip()
to focus the field before issuing this command.
. When you call this method, the
.
parameter. The text is
text
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers