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.
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...