public property echoMode as String:
Controls how the text is rendered.
TextBox.ECHO_PASSWORD masks the rendered characters while preserving the real value returned by text.
TextBox.ECHO_PASSWORD
text
field.echoMode = TextBox.ECHO_PASSWORD