44 Writing and Editing ActionScript 2.0
Use dynamic font mapping Checks to ensure that the selected font family has the
necessary glyphs to render each character. If not, Flash substitutes a font family that contains
the necessary characters. For more information, see “Formatting code” on page 50.
Encoding Specifies the character encoding used when opening, saving, importing, and
exporting ActionScript files. For more information, see “Importing and exporting scripts”
on page 56.
Reload modified files Lets you select when to see warnings about whether a script file is
modified, moved, or deleted. Select between Always, Never, or Prompt.
■ Always No warning is displayed when a change is detected, and the file is automatically
reloaded.
■ Never No warning is displayed when a change is detected, and the file remains in the
current state.
■ Prompt (Default) Warning is displayed when a change is detected, and you can choose
whether or not to reload the file.
When building applications that involve external script files, this feature helps you avoid
overwriting a script that a team member has modified since you opened the application, or
publishing the application with older versions of scripts. The warnings let you automatically
close a script, and reopen the newer, modified version.
Syntax colors Specifies the colors for code coloring in your scripts. With code coloring
enabled, you can select the colors to be displayed in the Script pane.
Language Opens the ActionScript Settings dialog box. For more information, see
“Modifying the classpath” on page 63.
About code hinting in Flash
When you use the Actions panel or the Script window, you can use several features to help
you write syntactically correct code. Code hints help you write code quickly and accurately.
Code hinting includes tooltips that contain correct syntax, and menus that let you select
method and property names. The following sections show you how to write code that uses
these features.
■ “About triggering code hints” on page 45
■ “Using code hints” on page 45
■ “About typing objects to trigger code hints” on page 48
■ “About using suffixes to trigger code hints” on page 48
■ “About using comments to trigger code hints” on page 50