Chapter 2. Writing and Editing ActionScript 2.0

When you write ActionScript code in Macromedia Flash Basic 8 or Macromedia Flash Professional 8, you use the Actions panel or Script window. The Actions panel and Script window contain a full-featured code editor (called the ActionScript editor) that includes code hinting and coloring, code formatting, syntax highlighting, syntax checking, debugging, line numbers, word wrapping, and support for Unicode in two different views. For more information about the ActionScript editor, see “Using the Actions panel and Script window” on page 36.

You can use one of two methods to write ActionScript code in Flash. You can write scripts that are part of your Flash document (that is, scripts that are embedded in ...

Get Learning ActionScript 2.0 for Macromedia® Flash® 8 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.