
330
Writing ActionScript with Script Assist
To search for text in a script, do one of the following:
■
To go to a specific line in a script, choose GoTo Line from the Actions panel pop-up menu
or press G (Windows) or G (Macintosh); and then enter the line
number.
■
To find text, click the Find button above the Script pane, select Find from the Actions
panel pop-up menu, or press F (Windows) or F (Macintosh). Enter
the text you want to find in the dialog box that appears.
■
To find text again, press F3 or select Find Again from the Actions panel pop-up menu.
■
To replace text, click the Find button above the Script pane, or press H
(Windows) or H (Macintosh). Enter the text you want to find and the text
you want to replace it with in the dialog box that appears.
In expert mode, Replace scans the entire body of text in a script. In normal mode, Replace
searches and replaces text only in the parameter box of each action. For example, in Script
Assist mode you cannot replace all
gotoAndPlay
actions with
gotoAndStop
.
To pin a script to the Actions panel:
■
Click the Script Pin button.
The Actions panel displays the script in the Script pane, even when you click away from
the object or frame.
To resize the Actions toolbox or Script pane, do one of the following:
■
Drag the vertical splitter bar that appears between the Actions toolbox and Script pane.
■
Double-click the splitter bar to collapse the Actions toolbox; double-click the bar again to
display the Actions toolbox.
■
Click the arrow button on the splitter bar to expand or collapse the Actions toolbox.
When the Actions toolbox is hidden, you can still use the Add (+) button to access its
items.
To view line numbers in the Script pane, do one of the following:
■
Select View Line Numbers from the View Options pop-up menu above the Script pane.
■
Select View Line Numbers from the Actions panel pop-up menu.
■
Press Shift+L (Windows) or Shift+L (Macintosh).
NO
TE
The Script Assist find and replace feature searches the current Script pane. To
search through text in every script in a Flash document, use the Movie Explorer
(see
“Using the Movie Explorer” on page 46
).
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...