If you prefer to keep the finished file open as a reference while working with the starter file, be careful not to edit it or save any changes to it.
Open the starter document
Now that you have seen the completed file, it is time to create your own Flash document. To get started, you'll open a starter file that contains the elements to which you will add ActionScript code using Script Assist mode.
To open the starter document:
- In Flash, select File > Open.
- Navigate to the following directory:
- In Windows: Hard Disk \Program Files\ Macromedia\Flash 8\ Samples and Tutorials\Tutorial Assets\ActionScript\Script Assist.
- On the Macintosh: Macintosh HD /Applications/Macromedia Flash 8/Samples and Tutorials/Tutorial Assets/ ActionScript/Script Assist.
- In Windows: Hard Disk \Program Files\ Macromedia\Flash 8\ Samples and Tutorials\Tutorial Assets\ActionScript\Script Assist.
- Open the scriptassist_start.fla file.
Note:
This section demonstrates how you add scripts directly to objects. Although this approach can be convenient for adding interactivity to your Flash applications, you should follow best coding practices and add code to the Timeline rather than to individual objects. For more information, see "Add frame scripts to the Timeline by using Script Assist mode".