}
radioGroup.addEventListener("click", form);
The following code also sends a message to the Output panel when
is clicked. The
on()
on(click){
trace("radio button component was clicked");
}
RadioButton.data
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
radioButtonInstance.data
Description
Property; specifies the data to associate with a RadioButton instance. Setting this property
overrides the data parameter value set during authoring. The
type.
Example
The following example assigns the data value
radioOne.data = "#FF00FF";
RadioButton.groupName
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
radioButtonInstance.groupName
radioButtonGroup.groupName
Description
Property; sets the group name for a radio button instance or group. You can use this property to
get or set a group name for a radio button instance or for a radio button group. Calling this
method overrides the groupName parameter value set during authoring. The default value is
.
"radioGroup"
handler must be attached directly to
radioButtonInstance
property can be of any data
data
to the
"#FF00FF"
radioOne
radioButtonInstance
.
radio button instance:
RadioButton component
631
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers