MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Manual page 52

Learning actionscript 2.0 in flash
Table of Contents

Advertisement

To set preferences for syntax coloring as you type, do one of the following:
Select Edit > Preferences (Windows) or Flash > Preferences (Macintosh), click
ActionScript in the Category list, and specify Syntax coloring settings.
In the Actions panel, select Preferences from the pop-up menu (at the upper right of the
Actions panel) and specify Syntax coloring settings in ActionScript preferences.
With the mouse pointer focused in the Script pane, press Control-U (Windows) or
Command-U (Macintosh).
You can change the color settings for keywords, comments, identifiers, and strings. For
information on identifiers and strings, see
on page
79. For information on commenting, see
Using line numbers and word wrap
You can select whether to view line numbers and whether to wrap long lines of code.
Typically, you should enable line numbers and word wrap to make editing code much easier.
Line numbers make code easier to scroll and parse when you're editing or modifying the code.
Word wrap helps you avoid horizontally scrolling long lines of code (especially when you
work in the authoring environment, or at low screen resolutions).
To enable or disable line numbers, do one of the following:
In the Actions panel, select Line Numbers from the pop-up menu.
In the Script window, select Tools > Line Numbers.
Press Control+Shift+L (Windows) or Command+Shift+L (Macintosh).
To enable or disable line word wrap, do one of the following:
In the Actions panel, select Word Wrap from the pop-up menu.
In the Script window, select Tools > Word Wrap.
Press Control+Shift+W (Windows) or Command+Shift+W (Macintosh).
Using Escape shortcut keys
You can add many elements to a script by using Escape shortcut keys (pressing the Escape key,
and then two other keys).
These shortcuts are different from the keyboard shortcuts that initiate certain menu
commands.
52
Writing and Editing ActionScript 2.0
"Terminology" on page 803
"About comments" on page
and
"String data type"
131.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents