var nstepListener:Object = new Object(); nstepListener.change = function(evt_obj:Object) { if (evt_obj.target.value == 0) { } else { var oldPrice:Number = proPrice.text; var step:Number = evt_obj.target.value; proPrice.text = oldPrice*step; } }; orderQuantity.addEventListener("change", nstepListener); _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
I have a NumericStepper that changes the value of a price textfield
based on the stepper value. Is there anyway to check if the user
increment/decrement the stepper so I can muliply/divide the number when
needed. Thanks
- [Flashcoders] NumericStepper Mike Boutin
- Re: [Flashcoders] NumericStepper Nathan Derksen