Writing Scripts with ActionScript > Setting Actions panel preferences |
![]() ![]() ![]() |
Setting Actions panel preferences
To set preferences for the Actions panel, you use the ActionScript Editor section of Flash preferences. You can change settings such as indentation, code hints, font, and syntax coloring, or restore the settings to their defaults.
To set Actions panel preferences:
1 |
Do one of the following: |
![]() |
Choose Preferences from the Actions panel pop-up menu (at the upper right of the Actions panel). |
![]() |
Choose Edit > Preferences and click the ActionScript Editor tab. |
2 |
Set any of the following preferences: |
![]() |
For Editing Options, select Automatic Indentation to automatically indent ActionScript in the Script pane in expert mode, and enter an integer in the Tab Size box to set an indentation tab size for expert mode (the default is 4). Select Code Hints to turn on syntax, method, and event completion tips in both expert and normal mode. Move the Delay slider to set the amount of time Flash waits before displaying a code hint (the default is 0). |
![]() |
For Text, select a font or size from the pop-up menu to change the appearance of text in the Script pane. |
![]() |
For Syntax Coloring, choose a color for the Script pane's foreground and background and for keywords (for example, |
To restore the default ActionScript Editor preferences:
Click the Reset to Defaults button.
![]() ![]() ![]() |