Set minimum and maximum values of a NumberValidator
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:NumberValidator source="{inputA}" property="text" minValue="{Number(inputMin.text)}" maxValue="{Number(inputMax.text)}" /> <mx:TextInput id="inputA" /> <mx:TextInput id="inputMin" text="1" /> <mx:TextInput id="inputMax" text="10" /> </mx:Application>