Understanding ActionScript > Using the Actions panel > About error highlighting
About error highlightingAll syntax errors are highlighted with a solid red background in the Script window in Normal Mode. This makes it easy to spot problems. If you move the mouse pointer over an action with incorrect syntax, a tooltip displays the error message associated with that action. When you select the action, the error message is also displayed in the pane title of the parameters area.
In Normal Mode all ActionScript export incompatibilities are highlighted with a solid yellow background in the Script window. For example, if the Flash Player export version is set to Flash 4, ActionScript that is supported only by the Flash 5 Player is highlighted in yellow. The export version is determined in the Publish Settings dialog box.
All deprecated actions are highlighted with a green background in the toolbox. Deprecated actions are only highlighted when the Flash export version is set to Flash 5.
To set the Flash Player export version:
1 | Choose File > Publish Settings. |
2 | Click the Flash tab. |
3 | Choose an export version from the Version pop-up menu. |
![]() |
Note: You cannot turn off syntax error highlighting.
To show deprecated syntax highlighting:
Choose Show Deprecated Syntax from the Actions panel pop-up menu.
For a complete list of all error messages, see Table of error messages.