EasyManua.ls Logo

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH - Page 40

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
830 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
40 Writing and Editing ActionScript 2.0
The features you find in the toolbar are discussed in detail in “Using the Actions panel and
Script window” on page 35. A quick summary of the buttons you find on the toolbars of both
the Actions panel and the Script window follows.
Add a new item to the script Display all of the language elements that are also in the
ActionScript toolbox. Selecting an item from the categorized list of language elements
adds it to the script.
Find Find and replace text in your ActionScript code. For more information, see “Using
the Find tool” on page 54.
Insert target path Actions panel only. Assists you in setting an absolute or relative target
path for an action in the script. For more information, see “Inserting target paths
on page 60.
Check Syntax Check for syntax errors in the current script. Syntax errors are listed in
the Output panel. For more information, see “Checking syntax and punctuation
on page 55.
Auto Format Format your script for proper coding syntax and improved readability.
You can set autoformatting preferences in the Preferences dialog box, which is available
from the Edit menu or from the Actions panel pop-up menu. For more information, see
“Formatting code” on page 50.
Show Code Hint If youve turned off automatic code hinting, you can use Show Code
Hint to manually display a code hint for the line of code youre working on. For more
information, see About Script Assist” on page 58.
Debug Options Set and remove breakpoints in your script so that when you debug your
Flash document, you can stop and then proceed line by line through your script. Debug
options are now available in the Script window as well as the Actions panel, but only for
ActionScript files. This option is disabled for ActionScript Communication and Flash
JavaScript files. For more information about debugging your Flash documents, see
“Debugging your scripts” on page 711. For information about setting and removing
breakpoints, see “Setting and removing breakpoints” on page 720.
Script Assist Actions panel only. In Script Assist mode, you are prompted to enter the
elements needed to create scripts. For more information, see About Script Assist”
on page 58.
Reference Display a reference Help topic for the ActionScript language element that is
selected in the Script pane. For example, if you click an
import statement and then click
Reference, the Help topic for
import appears in the Help panel.
NOTE
Some of the following options are found in the Actions panel only. These features are
marked Actions panel only.

Table of Contents

Related product manuals