ZipCodeValidator and U.S ZIP Code
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:ZipCodeValidator source="{zipcode}" property="text" domain="US Only" trigger="{submitButton}" triggerEvent="click" /> <mx:Text text="Zip Code (U.S format)?" /> <mx:TextInput id="zipcode" /> <mx:Button label="Submit" id="submitButton" /> </mx:Application>