
334
USING FLASH CS4 PROFESSIONAL
ActionScript
2
Select Options and click Print.
Because the printed copy won’t include information about file it came from, you should include information such as
the name of the FLA file in a
comment
action in the script.
Access context-sensitive Help from the Actions panel
1
To select an item for reference, do any of the following:
•
Select an ActionScript term in the Actions panel toolbox pane (on the left side of the Actions panel).
•
Select an ActionScript term in the Actions panel in the Script pane.
•
Place the insertion point before an ActionScript term in the Actions panel in the Script pane.
2
To open the Help panel reference page for the selected item, do one of the following:
•
Press F1.
•
Right-click the item and select View Help.
•
Click Help
above the Script pane.
Script window overview
The Script window lets you create external script files that you import into your application. These scripts can be
ActionScript, Flash Communication, or Flash JavaScript files. The Add (+) menu lists the language elements available
for the type of script you create.
Script window
If you have more than one external file open, filenames are displayed on tabs across the top of the Script window.
In the Script window, you can use the following features: the Add (+) menu (which is like the Actions toolbox), find
and replace, syntax checking, syntax coloring, auto format, code hinting, code commenting, code collapse, debug
options (ActionScript files only), and word wrap. The Script window also lets you display line numbers and hidden
characters.
The Script window does not include code-assistance features such as the Script navigator, Script Assist mode, and
behaviors. These features are useful only in the context of creating a FLA file, not an external script file.
See also
“
Writing and managing scripts
” on page 339
Create an external file in the Script window
1
Select File
> New.
Updated 5 March 2009