I was looking to do the same thing ... came up with this:

numericStepper.addEventListener(NumericStepperEvent.CHANGE, 
function(event:NumericStepperEvent):void {
        callLater(resetMaximumValue);
});

... and then a function like this:

private function resetMaximumValue():void
{
        numericStepper.maximum = numericStepper.value + numericStepper.stepSize;
}

... inflates the maximum value one stepSize above whatever the current value 
is. The callLater is the key, since timing can screw this up. It seems to work 
for me, but I haven't thoroughly tested it beyond what I made it for.

--- In [email protected], "David Clark" <davidkcl...@...> wrote:
>
> Hello,
> 
> Does anyone know of a way to create a NumericStepper without a specified
> maximum value?
> 
> Thanks
> 
> -- 
> david
> "The difference between theory and practice is that in theory, there is no
> difference between theory and practice"
>


Reply via email to