Checkbox.label - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

The following code sends a message to the Output panel when
is clicked.
checkBoxInstance
The
handler must be attached directly to
:
on()
checkBoxInstance
on (click) {
trace("check box component was clicked");
}
See also
EventDispatcher.addEventListener()

CheckBox.label

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
checkBoxInstance.label
Description
Property; indicates the text label for the check box. By default, the label appears to the right
of the check box. Setting this property overrides the label parameter specified in the
Parameters tab of the Component inspector.
The CheckBox component does not allow multiline labels.
Example
The following code sets the text that appears beside the CheckBox component and sends the
value to the Output panel:
checkBox.label = "Remove from list";
trace(checkBox.label)
142
CheckBox component

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents