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

Learning actionscript 2.0 in flash
Table of Contents

Advertisement

For example, if you are working in the Script pane and press Escape+d+o, the following code
is placed in your script:
do {
} while ();
The insertion point is placed immediately following the word
your condition. Similarly, if you press Escape+c+h, the following code is placed in your script,
and the insertion point is placed between the parentheses [
condition:
catch () {
}
If you want to learn (or be reminded) about which commands have Escape shortcut keys, you
can show them next to elements in the ActionScript toolbox.
To show or hide Escape shortcut keys:
From the Actions panel pop-up menu, select or deselect Esc Shortcut Keys.
Escape shortcut keys appear next to elements in the ActionScript toolbox.
Showing hidden characters
As you write and format ActionScript code, you will enter spaces, tabs, and line breaks into
your script. These of course are good and necessary to the visual organization of your code.
However, the Flash compiler generates errors if it encounters double-byte spaces that are not
part of a string value. Showing hidden characters in the Script pane allows you to see and then
remove double-byte spaces.
], so you can begin typing your
()
About coding in the Actions panel and Script window
, so you can begin typing
while
53

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?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents