Add area code for PhoneFormatter
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:TextInput text="{phoneFormatter.format(4567890)}" /> <mx:PhoneFormatter id="phoneFormatter" formatString="###-####" areaCode="123" /> </mx:Application>