Chapter 10
282
7
To set additional search options, select Wrap-Around, Whole Words Only, or Case Sensitive.
Wrap-Around
specifies whether Director returns to the beginning of text after it reaches the
end. If you select this option but not All Casts, Director continues searching from the top of
the current text after it reaches the bottom of the window. If you select both options, Director
searches all cast members of the same type (either text, field, or script, depending on where you
initiated the search), beginning with the currently selected cast member and returning to the
first cast member of that type if necessary.
Whole Words Only
searches only for occurrences of the specified whole word.
Case Sensitive
searches only for text with the same capitalization as the text in the Find box.
Creating a hypertext link
In the Text inspector, you can turn any selected range of text into a hypertext link that links to a
URL or initiates other actions. Director automatically adds standard hypertext link formatting to
the selected text so that it initially appears with blue underlining. You can turn off this formatting
in the Property inspector’s Text tab. See “Setting text or field cast member properties”
on page 285.
The following procedure describes how to add a hypertext link to selected text. To make a
hypertext link active, you need to write an
on hyperlinkClicked
event handler. See
on
hyperLinkClicked
in the Lingo Dictionary.
You can enter any string in the Hyperlink text box; it does not have to be a URL. The string
cannot contain a double quotation mark or the Lingo continuation character.
To define a hypertext link:
1
Select the text you want to define as a hypertext link.
2
Select Window > Text Inspector to open the Text inspector.
3
In the Hyperlink text box, enter the URL to which you want to link, or enter any message you
want to send to the
on
hyperlinkClicked
handler. Then press Enter (Windows) or Return
(Macintosh).
Working with fields
Working with field cast members is similar to working with text. As with text cast members, you
edit fields on the Stage or in a window, and apply formatting with the Text inspector. Not all text
formatting options are available for fields: you cannot apply spacing, tabs, or indents to individual
paragraphs within fields. Alignment settings apply to every paragraph in the field.
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...