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.

tabEnabled (MovieClip.tabEnabled property)<br />

public tabEnabled : Boolean<br />

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

default.<br />

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

only if it defines at least one movie clip h<strong>and</strong>ler, such as MovieClip.onRelease. If<br />

tabEnabled is true, the object is included in automatic tab ordering. If the tabIndex<br />

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

If tabEnabled is false, the object is not included in automatic or custom tab ordering, even<br />

if the tabIndex property is set. However, if MovieClip.tabChildren is true, the movie<br />

clip's children can still be included in automatic tab ordering, even if tabEnabled is false.<br />

Example<br />

The following example does not include myMC2_mc in the automatic tab ordering:<br />

myMC1_mc.onRelease = function() {};<br />

myMC2_mc.onRelease = function() {};<br />

myMC3_mc.onRelease = function() {};<br />

myMC2_mc.tabEnabled = false;<br />

See also<br />

onRelease (MovieClip.onRelease h<strong>and</strong>ler), tabEnabled (Button.tabEnabled<br />

property), tabChildren (MovieClip.tabChildren property), tabIndex<br />

(MovieClip.tabIndex property), tabEnabled (TextField.tabEnabled property)<br />

tabIndex (MovieClip.tabIndex property)<br />

public tabIndex : Number<br />

Lets you customize the tab ordering of objects in a movie. The tabIndex property is<br />

undefined by default. You can set the tabIndex property on a button, movie clip, or text<br />

field instance.<br />

If an object in a SWF file contains a tabIndex property, automatic tab ordering is disabled,<br />

<strong>and</strong> the tab ordering is calculated from the tabIndex properties of objects in the SWF file.<br />

The custom tab ordering includes only objects that have tabIndex properties.<br />

The tabIndex property must be a positive integer. The objects are ordered according to their<br />

tabIndex properties, in ascending order. An object with a tabIndex value of 1 precedes an<br />

object with a tabIndex value of 2. The custom tab ordering disregards the hierarchical<br />

relationships of objects in a SWF file. All objects in the SWF file with tabIndex properties<br />

are placed in the tab order. Do not use the same tabIndex value for multiple objects.<br />

MovieClip 471

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

Saved successfully!

Ooh no, something went wrong!