F > FCheckBox.setLabelPlacement

 

FCheckBox.setLabelPlacement

Availability

Flash Player 6.

Usage

myCheckBox.setLabelPlacement(labelPosition)

Parameters

labelPosition A text string; specify "left" or "right".

Returns

Nothing.

Description

Method; specifies whether the label appears to the left or right of the check box. Calling this method overrides the Label Placement parameter value set during authoring.

Example

The following code places the label for checkBox1 to the left of the check box.

checkBox1.setLabelPlacement("left");

See also

FCheckBox.setLabel