
Setting text or field cast member properties
175
6
To specify how Director removes the cast member from memory if memory is low, select an
option from the Unload pop-up menu. For more information, see
“Controlling cast member
unloading” on page 47
.
7
To change the text of the cast member, click Edit.
8
Click the Property inspector’s Text or Field tab by using the Graphical view.
9
To determine how Director places text within the boundaries of the cast member, select one of
the following Framing options:
Adjust to Fit
expands the text box vertically when text that is entered extends beyond the
current size of the box.
Scrolling
attaches a scroll bar to the right side of the text box. This is useful when there is a
large amount of text. The scroll bar is drawn direct to Stage, which means that even if another
cast member is in front of a cast member that contains a scroll bar, the scroll bar appears in
the front.
Fixed
retains the original size of the text box. If you enter text that extends beyond the limits of
the box, the text is stored but doesn’t appear. You can set up scrolling with some script in Lingo
or JavaScript syntax (for more information, see
“Controlling scrolling text with Lingo or
JavaScript syntax” on page 179
).
Limit to Field Size
(available only for field cast members) displays only the amount of text that
fits within the field’s bounding rectangle.
10
To set editing and display options, select from the following options:
Editable
makes the cast member editable while the movie plays (for more information, see
“Using editable text” on page 172
).
Wrap
increases the vertical size of the text box or field on the Stage so that all text is visible.
Tab
advances the text insertion point to the next editable sprite on the Stage when the user
presses Tab.
DTS (Direct to Stage)
(text cast members only) makes text display more quickly by rendering
it directly to the Stage without composing it with other sprites. Selecting the DTS
option prevents other sprites from appearing over the text, and limits the ink options to Copy.
Use Hypertext Styles
(text cast members only) makes hypertext links appear the same as in a
web browser, initially using blue underlining, and then red after the link has been visited. (For
more information, see
“Creating a hypertext link” on page 171
.)
11
To make text of a text cast member appear on the Stage more quickly, select a pre-render option.
Pre-rendering controls when text buffers are created.
Without pre-rendering, large amounts of anti-aliased text can take a while to load. This can
cause a noticeable delay when the text is displayed for the first time. When a pre-render option
is selected, text buffers are created when the current text member is loaded, instead of when the
member first appears on the Stage.
Select one of the following pre-render options from the Pre-Render pop-up menu:
None
provides no pre-rendering.
Copy Ink
optimizes the pre-rendering for Copy Ink (this option renders text more quickly
than Other Ink).
Other Ink
pre-renders the text for all other ink types.
If you select a pre-render option, you can make text appear on the Stage even more quickly by
selecting Save Bitmap.See the next section.
Содержание DIRECTOR MX 2004-USING DIRECTOR
Страница 1: ...DIRECTOR MX 2004 Using Director...
Страница 16: ...16 Chapter 1 Introduction...
Страница 82: ...82 Chapter 3 Sprites...
Страница 98: ...98 Chapter 4 Animation...
Страница 134: ...134 Chapter 5 Bitmaps...
Страница 242: ...242 Chapter 10 Sound and Synchronization...
Страница 274: ...274 Chapter 11 Using Digital Video...
Страница 290: ...290 Chapter 12 Behaviors...
Страница 302: ...302 Chapter 13 Navigation and User Interaction...
Страница 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Страница 392: ...392 Chapter 16 Working with Models and Model Resources...
Страница 418: ...418 Chapter 18 Movies in a Window...
Страница 446: ...446 Chapter 22 Managing and Testing Director Projects...