Specifications
216 ActionScript: Use Script Assist mode
7. Click Add again and then select the goto() function from the Global 
Functions > Timeline Control option.
Adding the function that is triggered when the event occurs
The 
goto() function is added as the action of the on event handler. In 
other words, when the Home button is pressed (the 
on handler) and 
released (the 
release event), the goto() action is executed. 
When the Home button is clicked, the movie clip should move to and 
stop at the Home frame of the Timeline. To do this, you use Script 
Assist mode to modify the default parameters of the 
goto() function.
8. In the Script Assist panel, select the Go To and Stop option.
9. Set the Type to Frame Label by selecting it from the Type pop-up 
menu. 










