User Guide

NumericStepper component 591
Using skins with the NumericStepper component
The NumericStepper component uses skins to represent its up and down button states. To skin
the NumericStepper component while authoring, modify skin symbols in the Flash UI
Components 2/Themes/MMDefault/Stepper Assets/States folder in the library. For more
information, see About skinning components” on page 80.
If a stepper is enabled, the down and up buttons display their over states when the pointer moves
over them. The buttons display their down state when pressed. The buttons return to their over
state when the mouse is released. If the pointer moves off the buttons while the mouse is pressed,
the buttons return to their original state.
If a stepper is disabled, it displays its disabled state, regardless of user interaction.
A NumericStepper component supports the following skin properties:
textDecoration
Both The text decoration: either "none" or "underline". The default
value is
"none".
repeatDelay
Both The number of milliseconds of delay between when a user first
presses a button and when the action begins to repeat. The
default value is 500 (half a second).
repeatInterval
Both The number of milliseconds between automatic clicks when a
user holds the mouse button down on a button. The default
value is 35.
symbolColor
Sample The color of the arrows. The default value is 0x2B333C (dark
gray).
Property Description
upArrowUp
The up arrow button’s up state. The default value is StepUpArrowUp.
upArrowDown
The up arrow button’s pressed state. The default value is
StepUpArrowDown.
upArrowOver
The up arrow button’s over state. The default value is
StepUpArrowOver.
upArrowDisabled
The up arrow button’s disabled state. The default value is
StepUpArrowDisabled.
downArrowUp
The down arrow button’s up state. The default value is
StepDownArrowUp.
downArrowDown
The down arrow button’s down state. The default value is
StepDownArrowDown.
downArrowOver
The down arrow button’s over state. The default value is
StepDownArrowOver.
downArrowDisabled
The down arrow button’s disabled state. The default value is
StepDownArrowDisabled.
Style Theme Description