From the category archives:

NumericStepper (Spark)

The following example shows how you can create a non-editable Spark NumericStepper control in Flex 4 by setting the Boolean editable property on the NumericStepper control’s internal TextInput control.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set a display format function and extract value function on a Spark NumericStepper control in Flex 4 by setting the displayFormatFunction and extractValueFunction properties.

Full code after the jump.

[click to continue…]

{ 2 comments }

The following example shows how you can set the value interval on a Spark NumericStepper control in Flex 4 by setting the valueInterval property.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the vertical alignment on a Spark NumericStepper control in Flex 4 by setting the verticalAlign style on the NumericStepper control’s internal RichEditableText control.

Full code after the jump.

[click to continue…]

{ 2 comments }

The following example shows how you can set a linear gradient background fill on a Spark NumericStepper control in Flex Gumbo by creating a LinearGradient object and setting the skinClass style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the digit width on a Spark NumericStepper control in Flex 4 by setting the digitWidth style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the content background color on a Flex Gumbo Spark NumericStepper control by setting the contentBackgroundColor style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the digit case on a Flex 4 Spark NumericStepper control by setting the digitCase style to one of the static constants in the flash.text.engine.DigitCase class.

Full code after the jump.

[click to continue…]

{ 0 comments }