User Guide
220 Chapter 9: Using Flash, Flash Components, and Other Interactive Media Types
Property summary for the NumericStepper class
Event summary for the NumericStepper class
RadioButton component
A radio button is a fundamental part of any form or web application. You can use radio buttons
wherever you want a user to make one choice from a group of options. For example, you would
use radio buttons in a form to ask which credit card a customer is using to pay.
RadioButton parameters
The following are authoring parameters that you can set for each RadioButton component
instance in the Property inspector or in the Component Inspector panel:
label sets the value of the text on the button; the default value is Radio Button.
data is the value associated with the radio button. There is no default value.
groupName is the group name of the radio button. The default value is radioGroup.
selected sets the initial value of the radio button to selected (true) or unselected (false). A selected
radio button displays a dot inside it. Only one radio button within a group can have a selected
value of true. If more than one radio button within a group is set to true, the radio button that is
instantiated last is selected. The default value is false.
labelPlacement orients the label text on the button. This parameter can be one of four values:
left, right, top, or bottom; the default value is right. For more information, see
RadioButton.labelPlacement.
You can write scripts to set additional options for RadioButton instances using the methods,
properties, and events of the RadioButton class. For more information, see “RadioButton class” in
the Flash documentation.
textDecoration
The text decoration; either "none", or "underline".
textAlign
The text alignment; either "left", "right", or "center".
Property Description
NumericStepper.maximum
A number indicating the maximum range value.
NumericStepper.minimum
A number indicating the minimum range value.
NumericStepper.nextValue
A number indicating the next sequential value. This property is
read-only.
NumericStepper.previousValue
A number indicating the previous sequential value. This property is
read-only.
NumericStepper.stepSize
A number indicating the unit of change for each step.
NumericStepper.value
A number indicating the current value of the stepper.
Event Description
NumericStepper.change
Triggered when the value of the step changes.
Style Description