![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/2/38/2388e2db-29fd-4cb4-ba34-dd210e2d1db6/2388e2db-29fd-4cb4-ba34-dd210e2d1db6-bg3f.png)
Macromedia MAX 2005 - Anaheim, CA What’s New In Flash 8
63
Using Script Assist to view ActionScript
To add an action to a Flash document, you must attach it to a button or movie clip, or to a frame in
the Timeline. The Actions panel lets you select, drag and drop, rearrange, and delete actions.
1. To write ActionScript using Script Assist:
1. Select Window > Actions.
2. The Actions panel appears.
3. Click the Script Assist button.
4. The Actions panel enters Script Assist mode.
NOTE:
If the Actions panel contains ActionScript code when you click the Script Assist button, Flash
compiles the existing code. If there are errors in the code, you will not be able to use Script
Assist until you fix the current code selection.
5. Click on each line of code. Notice how Script Assist gives you the details.
Script Assist giving specific information on each line of code.
When Script Assist in enabled, the Actions panel user interface and behaviors change in the
following ways:
• The Add (+) button functions differently in Script Assist mode. When the focus is on the
ActionScript window, it adds the selection after the currently selected text block. If the focus
is in the edit pane, the selection is added to that text block.