You can use a NumericStepper instead of a TextInput. Then you can set the minimum and maximum values.
<s:NumericStepper id="ns" minimum="1" maximum="100" />
Update: In Flex 3; you can use the MX Numeric Stepper with similar properties:
<mx:NumericStepper id="ns" minimum="1" maximum="100" stepSize="1"/>