
59
USING FLASH CS4 PROFESSIONAL
Managing documents
The Find and Replace Log at the bottom of the Find and Replace dialog box shows the location, name, and type of the
elements for which you are searching.
See also
“
Working with screens
” on page 316
Find and replace text
1
Select Edit > Find and Replace.
2
Select Text from the For pop-up menu.
3
In the Text box, enter the text to find.
4
In the Replace With Text box, enter the text to replace the existing text.
5
Select options for searching text:
Whole Word
Searches for the specified text string as a whole word only, bounded on both sides by spaces, quotes, or
similar markers. When Whole Word is deselected, the specified text can be searched as part of a larger word. For
example, when Whole Word is deselected, a search for
place
will yield the words
replace
,
placement
, and so on.
Match Case
Searches for text that exactly matches the case (uppercase or lowercase character formatting) of the
specified text when finding and replacing.
Regular Expressions
Searches for text in regular expressions in ActionScript. An expression is any statement that Flash
can evaluate that returns a value.
Text Field Contents
Searches the contents of a text field.
Frames/Layers/Parameters
Searches frame labels, layer names, scene names, and component parameters.
Strings in ActionScript
Searches strings (text between quotation marks) in ActionScript in the document or scene
(external ActionScript files are not searched).
ActionScript
Searches all ActionScript, including code and strings.
6
To select the next occurrence of the specified text on the Stage and edit it in place, select Live Edit.
Note:
Only the next occurrence is selected for live editing, even if you select Find All in step 7.
7
To find text, do one of the following:
•
To find the next occurrence of the specified text, click Find Next.
•
To find all occurrences of the specified text, click Find All.
8
To replace text, do one of the following:
•
To replace the currently selected occurrence of the specified text, click Replace.
•
To replace all occurrences of the specified text, click Replace All.
Find and replace fonts
1
Select Edit > Find and Replace.
2
Select Font from the For pop-up menu, then select from the following options:
•
To search by font name, select Font Name and select a font from the pop-up menu or enter a font name in the box.
When Font Name is deselected, all fonts in the scene or document are searched.
Updated 5 March 2009