FFormCheckBox Documentation
Author: Martijn de Visser - http://www.martijndevisser.com
Last Modified: 12/05/03 14:52:18
Summary
FFormCheckBox Class:
FFormCheckBox Properties:
FFormCheckBox class
version: 0.5.1
description:
Extends FFormElement
Use this class to display checkboxes your forms.
Please note: all parameters must be passed as members of a single initialization object. This will be taken care of automatically when used in a FForm.
usage:
This example will place a FFormCheckBox on the stage:
this.attachMovie("FFormCheckBox", instancename, depth, { label: "A CheckBox" } )
parameters:
- label (String); The text to be displayed.
- selected (Boolean); Indicates if the checkbox is selected. Default is
false. - font (String); Font to use. Default is "_sans".
- embed (Boolean); Indicates if the specified font is an embedded font. Default is
false. - size (Number); Point size of the font. Default is 10.
- normalColor (Number); Color of the font. Default is 0x000000.
- rollOverColor (Number); Color of the font on mouseOver. Default is 0x0D7DAC (blue).
- witdh (Number); Maximum width of the label. Label will not wrap if width is not specified.
FFormCheckBox Properties:
value
(Boolean) Sets or gets the current state of the checkbox