Select File > Save to save your FLA file.
Select Control > Test Movie.
Click any of the buttons (About, Products, Contact, and Home) to test that those frames are loading and that the corresponding title is displayed in the Title movie clip.
When you finish testing the application, close the SWF file by closing the test window.
You have now successfully added scripts to a button and both the main and Title movie clip timelines. You can use Script Assist mode in many ways as you work with ActionScript in your Flash documents.
Congratulations on using Script Assist mode to add scripts to objects and to the timeline. In just a few minutes, you learned how to accomplish the following tasks using Script Assist mode:
Display Script Assist mode in the Actions panel and insert predefined ActionScript functions.
Add a script to a button.
Add frame scripts to the main timeline.
Add a frame script to the last frame of a movie clip.
To learn more about ActionScript, take another lesson in the Basic ActionScript series.updated