03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

first_txt'( _parent is: _level0<br />

second_txt's _parent is: _level0.holder_mc<br />

See also<br />

_parent (Button._parent property), _parent (MovieClip._parent property),<br />

_root property<br />

password (TextField.password property)<br />

public password : Boolean<br />

Specifies whether the text field is a password text field. If the value of password is true, the<br />

text field is a password text field: once the user completes entering the password <strong>and</strong> clicks<br />

OK, the text field hides the input characters using asterisks instead of the actual characters. If<br />

false, the text field is not a password text field. When password mode is enabled, the Cut<br />

<strong>and</strong> Copy comm<strong>and</strong>s <strong>and</strong> their corresponding keyboard accelerators will not function. This<br />

security mechanism prevents an unscrupulous user from using the shortcuts to discover a<br />

password on an unattended computer.<br />

Example<br />

The following example creates two text fields: username_txt <strong>and</strong> password_txt. Text is<br />

entered into both text fields; however, password_txt has the password property set to true.<br />

After the user clicks OK to complete the password entry, the characters display as asterisks<br />

instead of as characters in the password_txt field.<br />

this.createTextField("username_txt", this.getNextHighestDepth(), 10, 10,<br />

100, 22);<br />

username_txt.border = true;<br />

username_txt.type = "input";<br />

username_txt.maxChars = 16;<br />

username_txt.text = "hello";<br />

this.createTextField("password_txt", this.getNextHighestDepth(), 10, 40,<br />

100, 22);<br />

password_txt.border = true;<br />

password_txt.type = "input";<br />

password_txt.maxChars = 16;<br />

password_tx(.password = true;<br />

password_txt.text = "world";<br />

_quality (TextField._quality property)<br />

public _quality : String<br />

TextField 633

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!