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 />

_level property, getDepth (MovieClip.getDepth method), getInstanceAtDepth<br />

(MovieClip.getInstanceAtDepth method), getNextHighestDepth<br />

(MovieClip.getNextHighestDepth method)<br />

tabChildren (MovieClip.tabChildren property)<br />

public tabChildren : Boolean<br />

Determines whether the children of a movie clip are included in the automatic tab ordering. If<br />

the tabChildren property is undefined or true, the children of a movie clip are included in<br />

automatic tab ordering. If the value of tabChildren is false, the children of a movie clip are<br />

not included in automatic tab ordering. The default value is undefined.<br />

Example<br />

A list box UI widget built as a movie clip contains several items. The user can click each item<br />

to select it, so each item is a button. However, only the list box itself should be a tab stop. The<br />

items inside the list box should be excluded from tab ordering. To do this, the tabChildren<br />

property of the list box should be set to false.<br />

The tabChildren property has no effect if the tabIndex property is used; the tabChildren<br />

property affects only automatic tab ordering.<br />

The following example disables tabbing for all children movie clips inside a parent movie clip<br />

called menu_mc:<br />

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

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

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

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

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

menu_mc.tabChildren = false;<br />

Change the last line of code to the following to include the children movie clip instances of<br />

menu_mc in the automatic tab ordering:<br />

menu_mc.tabChildren = true;<br />

See also<br />

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

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

(TextField.tabIndex property)<br />

470 ActionScript classes

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

Saved successfully!

Ooh no, something went wrong!