F > FRadioButton.setSize |  |

FRadioButton.setSize

FRadioButton, FRadioButton.setSize, setSize

Availability

Flash Player 6.

Usage

    myRadioButton.setSize(width)
    myRadioButtonGroup.setSize(width)

Parameters

`width` An integer specifying the size of the radio button, in pixels.

Returns

Nothing.

Description

Method; specifies the width of the radio button in pixels and redraws the radio button. (You cannot set the height of radio button components.) Calling this method overrides width scaling applied during authoring.

Usage 1: Sets the size of an individual radio button.

Usage 2: Sets the size of all of the radio buttons in a group.

For more information, see Sizing RadioButton components in the Using Components chapter of Using Flash.

Example

The following code sets the width of `radio1` to 200 pixels.

    radio1.setSize(200);