Finding and replacing
Find and replace text
To find and replace text do the following:
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. The options may be:
- 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 and 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 in ActionScript in the document or scene (external ActionScript files are not searched).
6. To select the next occurrence of the specified text on the Stage and edit it in place, select Live Edit.
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.
Note: Only the next occurrence is selected for live editing, even if you select Find All in step 7.