Using the RichText component
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Panel title="Howdy" verticalCenter="0" horizontalCenter="0"
width="300">
<s:RichText textAlign="center" color="#127892" width="100%">
<s:content>
</s:content>
</s:RichText>
</mx:Panel>
</mx:Application>
Related examples in the same category