Using Script Assist To Write Actionscript - MACROMEDIA FLASH 8-USING FLASH Use Manual

Using flash
Table of Contents

Advertisement

In Script Assist mode, you can add, delete, or change the order of statements in the Script
pane; you can also enter parameters for actions in text boxes above the Script pane. Script
Assist also lets you find and replace text, view script line numbers, and pin a script—that is,
keep a script in the Script pane when you click away from the object or frame.

Using Script Assist to write 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.
To write ActionScript using Script Assist:
1.
Select Window > Actions.
The Actions panel appears.
2.
Click the Script Assist button,
The Actions panel enters Script Assist mode.
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.
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.
The Remove (-) button lets you remove the current selection in the scrolling text area.
328
Writing ActionScript with Script Assist

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF