Table of Contents

MovieClip.tabChildren Property Flash 6

controls whether contained objects are included in the automatic tab order read/write
mc.tabChildren

Description

The Boolean tabChildren property specifies whether the text fields and buttons inside mc are included in the automatic tab order. It applies only to movie clips, not main movies (e.g., _root, _level1). When tabChildren is true (the default), all buttons, movie clips with button handlers, and text fields contained by mc are part of the automatic tab order, even when mc.tabEnabled is false. When tabChildren is false, the objects contained by mc are not accessible via the Tab key.

The tabChildren property has two typical uses:

Usage

The Tab key does not work reliably in Test Movie mode unless Control figs/U2192.gif Disable Keyboard Shortcuts is enabled. Be sure to test keyboard behavior in the Standalone Player, if applicable, and in the Flash Player for all targeted web browsers.

Example

The following code enables sliderBar_mc to receive focus via the Tab key, but it prevents any of its contents from being focused:

sliderBar_mc.tabEnabled = true;
sliderBar_mc.tabChildren = false;

See Also

MovieClip.tabEnabled, MovieClip.tabIndex


Table of Contents