![]() ![]() | |
Flash Player 6.0.79.
Flash MX 2004.
radioButtonInstance.groupNameradioButtonGroup.groupName
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 a group name for a radio button group. Calling this method overrides the groupName parameter value set while authoring. The default value is "radioGroup".
The following example sets the group name of a radio button instance to "colorChoice" and then changes the group name to "sizeChoice". To test this example, place a radio button on the Stage with the instance name myRadioButton and enter the following code on Frame 1:
myRadioButton.groupName = "colorChoice"; trace(myRadioButton.groupName); colorChoice.groupName = "sizeChoice"; trace(colorChoice.groupName);
![]() ![]() | |