Add child component to 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 addChildToNavigator(value:UIComponent):void{ navigator.addChild(value); } </mx:Script> <mx:TabNavigator id="navigator"> </mx:TabNavigator> </mx:Canvas> </mx:Application>