MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 975

Components language reference
Table of Contents

Advertisement

You can set the following additional parameters for each NumericStepper component instance
in the Component inspector (Window > Component Inspector):
enabled
is a Boolean value that indicates whether the component can receive focus and input.
The default value is
true
visible
is a Boolean value that indicates whether the object is visible (
The default value is
true
The minHeight and minWidth properties are used by internal sizing routines. They are
defined in UIObject, and are overridden by different components as needed. These
properties can be used if you make a custom layout manager for your application.
Otherwise, setting these properties in the Component inspector has no visible effect.
You can write ActionScript to control these and additional options for the NumericStepper
component using its properties, methods, and events. For more information, see
"NumericStepper class" on page
Creating an application with the NumericStepper
component
The following procedure explains how to add a NumericStepper component to an application
while authoring. The example places a NumericStepper component and a Label component
on the Stage and creates a listener for a change event on the NumericStepper instance.
When the value in the numeric stepper changes, the example displays the new value in the
Label instance.
To create an application with the NumericStepper component:
1.
Drag a NumericStepper component from the Components panel to the Stage.
2.
In the Property inspector, enter the instance name my_nstep.
3.
Drag a Label component from the Components panel to the Stage.
4.
In the Property inspector, enter the instance name my_label.
.
.
975.
true
Using the NumericStepper component
) or not (
).
false
971

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