NumericStepper minimum, maximum, stepSize
<?xml version="1.0" ?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#FFFFFF">
<mx:VBox id="vbox1" borderStyle="outset" paddingLeft="5" paddingBottom="5" paddingRight="5" paddingTop="5">
<mx:Label id="productNameTxt" text="Product Name" fontWeight="bold" />
<mx:HBox id="hbox1">
<mx:Label text="$3.99"/>
<mx:NumericStepper id="qty" minimum="1" maximum="10" stepSize="1"/>
<mx:Button label="Add to Cart" id="addBtn"/>
</mx:HBox>
</mx:VBox>
</mx:Application>
Related examples in the same category