To check for punctuation balance, do one of the following:
Click between braces ({}), brackets ([]), or parentheses [()] in your script.
For Windows, press Control+' (single quote), or for Macintosh, press Command+' (single
quote) to highlight the text between braces, brackets, or parentheses.
The highlighting helps you check that opening punctuation has corresponding closing
punctuation.
Importing and exporting scripts
You may both import a script into the Actions panel or Script window and export your scripts
to external ActionScript files. Both can be useful for sharing code between different Flash
applications and development teams.
To import an external AS file:
To import an external script into a script that you're working on in the Script pane, place
the insertion point where you want the first line of the external script to be located and
then do either of the following:
In the Actions panel, select Import Script from the pop-up menu or press
Control+Shift+I (Windows) or Command+Shift+I (Macintosh).
In the Script window, select Import Script from the File menu or press
Control+Shift+I (Windows) or Command+Shift+I (Macintosh).
You can export a script from the Actions panel. When you use the Script window, exporting is
unnecessary because you can instead save the AS file.
To export a script from the Actions panel:
1.
Select the script to export and then select Export Script from the pop-up menu or press
Control+Shift+X (Windows) or Command+Shift+X (Macintosh).
The Save As dialog box appears.
2.
Save the ActionScript (AS) file.
Flash supports a number of different character encoding formats (including Unicode) and you
may specify which format to use when importing and exporting scripts. For more
information, see
"Importing and exporting scripts" on page 56
preferences" on page
56
Writing and Editing ActionScript 2.0
57.
and
"Import and export
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?