F > FCheckBox.setSize |  |

FCheckBox.setSize

FCheckBox, FCheckBox.setSize, setSize

Availability

Flash Player 6.

Usage

    myCheckBox.setSize(width)

Parameters

`width` An integer specifying the width of the check box, in pixels.

Returns

Nothing.

Description

Method; specifies the width of the check box and redraws it. You cannot set the height of check box components. Calling this method overrides width scaling applied during authoring.

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

Example

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

    checkBox1.setSize(200);