Understanding ActionScript > Using the Actions panel

Using the Actions panel

The Actions panel lets you create and edit actions for an object or frame using two different editing modes. You can select prewritten actions from the Toolbox list, drag and drop actions, and use buttons to delete or rearrange actions. In Normal Mode you can write actions using parameter (argument) fields that prompt you for the correct arguments. In Expert Mode you can write and edit actions directly in a text box, much like writing script with a text editor.

To display the Actions panel:

Choose Window > Actions.

Selecting an instance of a button or movie clip makes the Actions panel active. The Actions panel title changes to Object Actions if a button or movie clip is selected, and to the Frame Actions panel if a frame is selected.

To select an editing mode:

1 With the Actions panel displayed, click the arrow in the upper right corner of the panel to display the pop-up menu.
2 Choose Normal Mode or Expert Mode from the pop-up menu.
Each script maintains its own mode. For example, you can script one instance of a button in Normal Mode, and another in Expert Mode. Switching between the selected button then switches the panel's mode state.
For more information, see Normal Mode and Expert Mode.