Get child count in TabNavigator
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Canvas width="400" height="300"> <mx:Script> import mx.core.UIComponent; public function get tabNumChildren():Number{ return navigator.numChildren; } </mx:Script> <mx:TabNavigator id="navigator"> </mx:TabNavigator> </mx:Canvas> </mx:Application>