MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 632

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

Advertisement

Example
The following example sets the group name of a radio button instance to
changes the group name to
name the instance name
myRadioButton.groupName = "colorChoice";
trace(myRadioButton.groupName);
colorChoice.groupName = "sizeChoice";
trace(colorChoice.groupName);
RadioButton.label
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
radioButtonInstance.label
Description
Property; specifies the text label for the radio button. By default, the label appears to the right of
the radio button. Calling this method overrides the label parameter specified during authoring. If
the label text is too long to fit within the bounding box of the component, the text is clipped.
Example
The following example sets the
radioButton.label = "Remove from list";
RadioButton.labelPlacement
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
radioButtonInstance.labelPlacement
radioButtonGroup.labelPlacement
Description
Property; a string that indicates the position of the label in relation to a radio button. You can set
this property for an individual instance or for a radio button group. If you set the property for a
group, the label is placed in the appropriate position for each radio button in the group.
632
Chapter 6: Components Dictionary
. To test this example, place a radio button on the Stage,
sizeChoice
, and enter the following code on Frame 1:
myRadioButton
property of the instance
label
colorChoice
:
radioButton
and then

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?

This manual is also suitable for:

Flash mx

Table of Contents