MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 634

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Usage
radioButtonGroup.selectedData
Description
Property; selects the radio button with the specified data value and deselects the previously
selected radio button. If the
of the selected instance is selected and returned. The
data type.
Example
The following example selects the radio button with the value
and sends the value to the Output panel:
colorGroup
colorGroup.selectedData = "#FF00FF";
trace(colorGroup.selectedData);
RadioButton.selection
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
radioButtonInstance.selection
radioButtonGroup.selection
Description
Property; behaves differently depending on whether you get or set the property. If you get the
property, it returns the object reference of the currently selected radio button in a radio button
group. If you set the property, it selects the specified radio button (passed as an object reference)
in a radio button group and deselects the previously selected radio button.
Example
The following example selects the radio button with the instance name
instance name to the Output panel:
colorGroup.selection = color1;
trace(colorGroup.selection._name)
634
Chapter 6: Components Dictionary
property is not specified for a selected instance, the
data
property can be of any
selectedData
from the radio group
"#FF00FF"
color1
value
label
and sends its

Advertisement

Table of Contents
loading
Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents