Writing Scripts with ActionScript > About syntax highlighting |  |

About syntax highlighting

In ActionScript, as in any language, syntax is the way elements are put together to create meaning. If you use incorrect ActionScript syntax, your scripts will not work. (For more information, see Using ActionScript syntax.)

In normal mode, syntax errors are red in the Script pane. If you move the mouse pointer over an action with incorrect syntax, a tooltip displays the associated error message; if you select the red highlighted action, the error message appears in the status bar at the bottom of the Actions panel.

In both expert and normal mode, ActionScript export version incompatibilities are yellow in the Script pane. For example, if the Flash Player export version is set to Flash 5, ActionScript that is supported only by Flash Player 6 is yellow. For information on setting the Flash Player export version, see Understanding the ActionScript Language

For a complete list of error messages, see Error Messages.