F > FCheckBox.setLabel |  |

FCheckBox.setLabel

FCheckBox, FCheckBox.setLabel, setLabel

Availability

Flash Player 6.

Usage

    myCheckBox.setLabel(label)

Parameters

`label` A string specifying the text label for the check box.

Returns

Nothing.

Description

Method; specifies the text label for the check box. By default, the label appears to the right of the check box. Calling this method overrides the `label` parameter specified in authoring.

Example

The following code applies the label "Send more information" to `checkBox1`.

    checkBox1.setLabel("Send more information");

See also

`FCheckBox.getLabel`, `FCheckBox.setLabelPlacement`