SocialSecurityValidator for SSN (Social Security Validator)
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:SocialSecurityValidator source="{ssn}"
property="text"
trigger="{submitButton}"
triggerEvent="click" />
<mx:Text text="Try me:"/>
<mx:TextInput id="ssn"/>
<mx:Button label="Submit" id="submitButton" />
</mx:Application>
Related examples in the same category