Specifications
Add a script to a button by using Script Assist mode 215
6. From the Movie Clip Control option, select the on event handler.
Script Assist mode prompts you to set the function’s parameters.
The
release event of the on event handler is selected by default.
You’ll use the
release event to trigger the script action when the user
clicks Home.
NOTE
An alternative method of adding ActionScript functions is to browse for
and then select them from the Actions toolbox. The Add button on the
Actions panel toolbar and the Actions toolbox display the same categories
of functions and you can add functions to the editor from both.