Chapter 16
416
To find the next occurrence of the text specified in the Find field:
•
Select Edit > Find Again.
To find occurrences of selected text:
1
Select the text.
2
Select Edit > Find > Selection.
Using linked scripts
In addition to scripts stored as internal cast members, you can choose to keep scripts in external
text files and link them to your Director movie. These linked scripts are similar to linked image or
digital video files you can import into Director movies.
Advantages of using linked scripts include the following:
•
One person can work on the Director file while another works on the script.
•
You can easily exchange scripts with others.
•
You can control the scripts separately from the Director file in a source code control
application such as Microsoft Visual SourceSafe or Perforce by Perforce Software. Applications
such as this prevent multiple programmers working on the same Director project from
overwriting each other’s work.
Linked scripts are used by Director only during authoring. At runtime, Director projectors and
Shockwave use a special internal copy of the script data stored in the movie. This way, your linked
scripts need not be distributed with your movies and cannot be copied by end users.
To import a script as a linked text file:
1
Select File > Import.
2
Select Script as the type of file to import.
3
Select the script file(s) you want to import.
You can import files with the file extensions .txt or .ls; the .ls extension is the Director linked
script extension.
To create a list of files you want to import, you can use the Add and Add All buttons. This is
especially useful if you want to import scripts from multiple locations.
4
Select Link to External File from the Media pop-up menu.
5
Click Import.
You can edit linked scripts normally in the Director Script window. Changes you make are
written to the external files each time you save your Director movie. (If you imported the linked
script from a UNIX server, UNIX line endings are preserved.) If you import a script whose text
file is locked, you will not be able to edit the script in Director.
You cannot apply custom text colors to linked scripts in the Script window. Script auto coloring,
however, is enabled for linked scripts.
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...