Using Components > The CheckBox component > CheckBox parameters

 

CheckBox parameters

You can set the following parameters for each check box instance in your Flash document using the Parameters tab on the Property inspector or the Component Parameters panel.

Change Handler is a text string specifying the name of a function to call when the value of the check box changes. The function must be defined in the same Timeline as the check box instance. This parameter is optional and needs to be specified only if you want an action to occur when a user selects or deselects a check box. For more information, see Writing change handler functions for components and theFComboBox.setChangeHandler

Initial Value specifies whether the check box is initially selected (true) or unselected (false).

Label is the name that appears next to the check box.

Label Placement specifies whether the label appears to the left or to the right of the check box. By default the label is displayed to the right of the check box.

You can set additional options and functionality for check box instances using the methods of the FCheckBox (component)

For more information, see the FCheckBox (component) entry in the online ActionScript Dictionary.