Change event we can validate in real time
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:StringValidator source="{address}" minLength="5" property="text" trigger="{address}" triggerEvent="change" /> <mx:Text text="What's your address?" /> <mx:TextInput id="address" /> </mx:Application>