MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 986

Components language reference
Table of Contents

Advertisement

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.maximum = 20;
See also
NumericStepper.minimum
NumericStepper.minimum
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
numericStepperInstance.minimum
Description
Property; the minimum range value of the stepper. This property can contain a number of up
to three decimal places. The default value is 0.
Example
The following example sets the minimum value and the initial value of the NumericStepper
instance to 100 and the maximum value to 120.
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 = 100;
my_nstep.maximum = 120;
my_nstep.value = my_nstep.minimum;
982
NumericStepper component

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?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents