Numericstepper.stepsize - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

See also
NumericStepper.nextValue

NumericStepper.stepSize

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
numericStepperInstance.stepSize
Description
Property; the unit amount to change from the current value. The default value is 1. This value
cannot be 0. This property can contain a number of up to three decimal places.
Example
The following example sets the initial value of the NumericStepper instance to equal the
minimum value of 3. It also sets the
value to 3 to cause the numeric stepper to
stepSize
increment by 3 when the user clicks the up arrow and decrement by 3 when the user clicks the
down arrow.
Drag an instance of the NumericStepper component onto the Stage, and enter the instance
name
in the Property inspector. Add the following code to Frame 1 of the timeline:
my_nstep
/**
Requires:
- NumericStepper component on Stage (instance name: my_nstep)
*/
var my_nstep:mx.controls.NumericStepper;
my_nstep.minimum = 3;
my_nstep.maximum = 120;
my_nstep.value = my_nstep.minimum;
my_nstep.stepSize = 3;
NumericStepper.stepSize
985

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents