defines the text for each tab in the TabBar control.
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:TabBar> <mx:dataProvider> <mx:Object label="A" data="AA" /> <mx:Object label="B" data="BB" /> <mx:Object label="C" data="CC" /> </mx:dataProvider> </mx:TabBar> </mx:Application>