Flash Player 6.
my_txt.type
Property; Specifies the type of text field. There are two values: "dynamic", which specifies a dynamic text field (cannot be edited by the user) and "input", which specifies an input text field.
my_txt.type ="dynamic";