<?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2008/10/12/aligning-the-label-placement-and-text-alignment-on-a-progressbar-control-in-flex/ --> <mx:Application name="ProgressBar_textAlign_test" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white"> <mx:Style> ProgressBar { textAlign: "center"; labelWidth: 200; } </mx:Style> <mx:ProgressBar id="progressBar" indeterminate="true" labelPlacement="bottom" width="200" /> </mx:Application>