FLASH CS3
User Guide
396
Display hidden characters
Characters such as spaces, tabs, and line breaks are hidden in ActionScript code. You may need to display these
characters; for example, you must find and remove double-byte spaces that are not part of a string value, because they
cause compiler errors.
•
From the panel menu
(at the upper-right corner of the Actions panel), Select Hidden Characters.
•
Press Shift+8 (Windows) or Shift+8 (Macintosh).
The following symbols are used to display hidden characters.
Find text in a script
The Find tool lets you find and replace text strings in your scripts.
Note:
To search through text in every script in a Flash document, use the Movie Explorer.
See also
“Use the Movie Explorer” on page 42
Find text
1
In the Actions panel or Script window, click Find
or press F (Windows) or F
(Macintosh).
2
Enter the search string.
3
Click Find Next.
Find and replace text in a script
1
In the Actions panel or Script window, click Find
or press F (Windows) or F
(Macintosh).
2
Enter the search string.
3
In the Replace box, enter the new string.
4
Click Find Next.
5
To replace the string, click Replace; to replace all occurrences of the string, click Replace All.
Repeat a search in the Actions panel
❖
From the panel menu
(at the upper-right corner of the Actions panel), select Find Again.
Repeat a search in the Script window
❖
Select Edit > Find Again.
Hidden character
Symbol
Single-byte space
.
Double-byte space
l
Tab
>>
line break