Numericstepper Class - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

To create movie clip symbols for NumericStepper skins:
1.
Create a new FLA file.
2.
Select File > Import > Open External Library and select the HaloTheme.fla file.
This file is located in the application-level configuration folder. For the exact location on
your operating system, see "About themes" in Using Components.
3.
In the theme's Library panel, expand the Flash UI Components 2/Themes/MMDefault
folder and drag the Stepper Assets folder to the library of your document.
4.
Expand the Stepper Assets folder in the library of your document.
5.
Expand the Stepper Assets/States folder in the library of your document.
6.
Open the symbols that you want to customize for editing.
For example, open the StepDownArrowDisabled symbol.
7.
Customize the symbol as desired.
For example, change the white inner graphics to a light gray.
8.
Repeat steps 6-7 for all symbols that you want to customize.
For example, repeat the same change on the up arrow.
9.
Click the Back button to return to the main timeline.
10.
Drag a NumericStepper component to the Stage.
This example has customized the disabled skins, so use ActionScript to set the
NumericStepper instance to be disabled in order to see the modified skins.
11.
Select Control > Test Movie.
The Stepper Assets/States folder also contains a StepTrack symbol, which is used
as a spacer between the up and down skins if the total height of the NumericStepper
instance is greater than the sum of the two arrow heights. This symbol linkage
identifier is not available for modification through a skin property, but the library
symbol can be modified, provided that the linkage identifier remains unchanged.

NumericStepper class

Inheritance
MovieClip >
ActionScript Class Name
The properties of the NumericStepper class let you set the following at runtime: the
minimum and maximum values displayed in the stepper, the unit by which the stepper
increases or decreases in response to a click, and the current value displayed in the stepper.
Setting a property of the NumericStepper class with ActionScript overrides the parameter of
the same name set in the Property inspector or Component inspector.
UIObject class
>
UIComponent class
mx.controls.NumericStepper
> NumericStepper
NumericStepper class
975

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