User Guide
NumericStepper.maximum 981
Drag an instance of the NumericStepper component onto the Stage, and enter the instance
name
my_nstep in the Property inspector. Add the following code to Frame 1 of the timeline:
/**
Requires:
- NumericStepper component on Stage (instance name: my_nstep)
*/
var my_nstep:mx.controls.NumericStepper;
// Create listener object.
var nstepListener:Object = new Object();
nstepListener.change = function(evt_obj:Object){
// evt_obj.target is the component that generated the change event,
// i.e., the numeric stepper.
trace("Value changed to " + evt_obj.target.value);
}
// Add listener.
my_nstep.addEventListener("change", nstepListener);
NumericStepper.maximum
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
numericStepperInstance.maximum
Description
Property; the maximum range value of the stepper. This property can contain a number of up
to three decimal places. The default value is 10.
Example
The following example sets the maximum value of the stepper range to 20.