Set data for TabBar using and
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:TabBar> <mx:dataProvider> <mx:String>A</mx:String> <mx:String>B</mx:String> <mx:String>C</mx:String> </mx:dataProvider> </mx:TabBar> </mx:Application>