Hey all, I have a question for you. I am trying to trigger an event when a textinput validate is incorrect. Here is my code
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="MeChild()"> <mx:Script> <![CDATA[ private var nArray:Array = new Array; private function ErrorAdd(event:Event):void { trace('working'); trace(event.target); } private function MeChild():void { var getChild:Array = CVS.getChildren(); trace(getChild.length); } ]]> </mx:Script> <mx:Canvas id="CVS" x="74.5" y="10" width="478" height="373"> <mx:TextInput id="t1" valid="ErrorAdd(event);"/> <mx:TextInput id="t2" y="30"/> <mx:Button label="Press ME" click="MeChild()" x="95.5" y="185"/> </mx:Canvas> <mx:StringValidator id="t1v" source="{t1}" property="text" minLength="2" maxLength="10"/> </mx:Application> When I enter the correct informatin into t1, ErrorAdd should kick off one of the traces. I am not sure why not, what am I doing wrong. Thanks, timgettt

