Validator returns ValidationResultEvent
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> import mx.events.ValidationResultEvent; private var vResult:ValidationResultEvent; private function validateZipPhone():void { vResult = zipV.validate(); if (vResult.type==ValidationResultEvent.INVALID) return; } </mx:Script> <mx:ZipCodeValidator id="zipV" source="{zipCodeInput}" property="text" /> <mx:Form> <mx:TextInput id="zipCodeInput" /> </mx:Form> <mx:Button label="Validate" click="validateZipPhone();" /> </mx:Application>