Archive for the ‘Checkbox’ Category
Description
An example of a Mirror effect
This component allows the user to easily reflect or mirror objects that they have created.
Simply remove the objects that exist within the Mirror movie clip
and replace with the objects that you wish to reflect or mirror.
Once the object(s) have been placed into the Mirror movie clip, select either Reflect or Mirror in the Mode parameter and the desired action will be applied to the object. To reapply the action repeat the process. The Mode will return to Normal after each application of a Mirror or Reflect effect.
Requirements
| Flash Export version | SWF 6 or later |
| SWiSH Max version | v2.0, build 20080131 or later |
Parameters
| Parameter name | Description |
| Mode | Defines if the objects within the Mirror movie clip are to be Mirrored, Reflected or have no change (Normal). |
Properties
There are no user accessible properties.
Methods
There are no user accessible methods.
History
| v1.1 | 20080411 | First release |
Description
![]()
This component allows the user to easily incorporate checkbox functionality into their movie.
The checkbox can be placed on the left or right of the text.
When the checkbox is checked, the referenced OnClick function is called. Alternatively the button action can go to a particular Frame or Label as defined in the ‘Event Goto’ group.
The current status of the checkbox can also be obtained from objectname.checked or objectname.Check.Tick._visible where objectname is the name of the checkbox component in the movie.
Requirements
| Flash Export version | SWF 6 or later |
| SWiSH Max version | v2.0, build 20080328 or later |
Parameters
| Parameter | Description |
| On Left? | If set to true, the checkbox appears on the left hand side of the text. |
| Label | The text that appears next to the checkbox. If further customization of the font / color is needed, this can be done by altering the properties of the Label object within the component. If the text area needs to be enlarged, resize the Label object directly rather than scale the object which will also alter the size of the checkbox. |
| Vertical Align | Defines the position of the checkbox (top, middle or bottom) if multiple lines of text is used. |
| Check Color | Color of the tick within the checkbox. |
| Selected? | Initial value of the checkbox, true for checked, false for unchecked. |
| OnClick | Allows definition of the function that is called when the checkbox changes state.
The function is expected to have two parameters, name and state. The Event Handling section gives a general description on how to use and define this function. |
| Event Goto | Group Heading: Defines if and which frame to go to |
| Goto Scene | If enabled, the button press action moves movie to selected scene. Options: Disabled, Previous, Next, Current, First, Last |
| Goto Frame or Label | If Goto Scene is enabled, movie moves to the entered frame or label within the stipulated scene. |
Example:
The use of the component is demonstrated in the supplied samples files, Use File | Components | form_quiz.swi
Note: In the form_quiz.swi example, a common events function is used by the Combo, Checkbox, RadioButton and Button_silver components.
History
| v1.0 | First release |
| v2.0 | Added support fro Help files and links. |


