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.

See also<br />

getNewTextFormat (TextField.getNewTextFormat method), setNewTextFormat<br />

(TextField.setNewTextFormat method)<br />

_soundbuftime (TextField._soundbuftime property)<br />

public _soundbuftime : Number<br />

Specifies the number of seconds a sound prebuffers before it starts to stream. Note: Although<br />

you can specify this property for a TextField object, it is actually a global property that applies<br />

to all sounds loaded, <strong>and</strong> you can specify its value simply as _soundbuftime. Setting this<br />

property for a TextField object actually sets the global property. For more information <strong>and</strong> an<br />

example, see _soundbuftime.<br />

See also<br />

_soundbuftime property<br />

tabEnabled (TextField.tabEnabled property)<br />

public tabEnabled : Boolean<br />

Specifies whether the text field is included in automatic tab ordering. It is undefined by<br />

default.<br />

If the tabEnabled property is undefined or true, the object is included in automatic tab<br />

ordering. If the tabIndex property is also set to a value, the object is included in custom tab<br />

ordering as well. If tabEnabled is false, the object is not included in automatic or custom<br />

tab ordering, even if the tabIndex property is set.<br />

Example<br />

The following example creates several text fields, called one_txt, two_txt, three_txt <strong>and</strong><br />

four_txt. The three_txt text field has the tabEnabled property set to false, so it is<br />

excluded from the automatic tab ordering.<br />

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

22);<br />

one_txt.border = true;<br />

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

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

22);<br />

two_txt.border = true;<br />

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

this.createTextField("three_txt", this.getNextHighestDepth(), 10, 70, 100,<br />

22);<br />

TextField 643

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

Saved successfully!

Ooh no, something went wrong!