Setting text or field cast member properties

Use the Property Inspector to view and change settings for selected text cast members. In addition to standard Name and Unload properties, you can specify whether text is editable while the movie plays, improve performance with pre-rendering, and control anti-aliasing and kerning.

To view or change text or field cast member properties:

1

Select a text cast member.

2

To display the Property Inspector, choose Modify > Cast Member > Properties or choose Window > Properties > Inspector.

3

If necessary, click the Member tab using the Graphical view.

The following noneditable settings are displayed:

The cast member size in kilobytes

The cast member creation and edit dates

The name of the last person who modified the cast member

4

To view or edit the cast member name, use the Name field.

5

To add comments about the cast member, use the Comments field.

6

To specify how Director removes the cast member from memory if memory is low, choose an option from the Unload pop-up menu. See Controlling cast member unloading.

7

To change the text of the cast member, click Edit.

8

Click the Text or Field tab of the Property Inspector using the Graphical view.

9

To determine how Director places text within the boundaries of the cast member, choose a Framing option:

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. Note that the scroll bar will be drawn direct to Stage; this means that even if another cast member is in front of a cast member containing a scroll bar, the scroll bar will appear frontmost.

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 not displayed. You can set up scrolling with Lingo (see Controlling scrolling text with Lingo).

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, choose from the following options:

Editable makes the cast member editable while the movie plays (see Using editable text).

Wrap increases the vertical size of the text box or field on the Stage so that all text is visible.

Tab to Next Editable Item advances the text insertion point to the next editable sprite on the Stage when the user presses Tab.

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. This 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 as they do in a Web browser, initially using blue underlining, and then red once the link has been visited. (See Creating a hyperlink.)

11

To make text of a text cast member appear on the Stage more quickly, choose a pre-render option. Pre-rendering controls when text buffers will be created.

Without pre-rendering, large amounts of anti-aliased text can take a while to load, causing a noticeable pause on a frame that displays the text 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 choose a pre-render option, you can make text appear on the Stage even more quickly by selecting Save Bitmap. See Using the Save Bitmap feature for pre-rendered text.

12

To control how Director anti-aliases text for a text cast member, choose an Anti-Alias option:

All Text anti-aliases all the text in the text block.

Larger Than anti-aliases only text larger than the point size entered in the Points field.

None turns off anti-aliasing for the current cast member.

Anti-aliasing dramatically improves the appearance of large text, but it can blur or distort smaller text. Experiment with the size setting to get the best results for the font you are using. (See About anti-aliased text.)

13

To control how Director kerns text, choose a Kerning option.

Kerning often does not improve the appearance of text at small point sizes. See About kerning.

All Text kerns all the text in the cast member according to the standard kerning table.

Larger Than kerns only text larger than the point size entered in the Points field.

None turns off kerning for the current cast member.

 
Using the Save Bitmap feature for pre-rendered text

The Save Bitmap feature works in tandem with pre-render options to display a buffer image of your text while your user waits for the actual text to load. This feature is useful when you're working with a large amount of anti-aliased text. (The Save Bitmap feature is different from the Convert to Bitmap menu command, which converts a text cast member into a bitmap image.)

You can also use the Save Bitmap feature with pre-render options if you're using special text characters for an audience not equipped to display them. For example, using Save Bitmap enables a non-Japanese system to display a text sprite that contains Japanese characters. Note, however, that the Save Bitmap option adds to the file size. The feature works with static text, but not with editable or scrolling text.

To use the Save Bitmap feature for pre-rendered text:

1

Select the text sprite.

2

On the Text tab of the Property Inspector, select from the Pre-Render pop-up menu:

If the text sprite's ink is Copy Ink, select Copy Ink.

If the text sprite's ink is any type of ink other than Copy Ink, select Other Ink.

For this procedure to work, you must make the correct selection from the Pre-Render pop-up menu. You can determine the Sprite's ink on the Sprite tab of the Property Inspector.

3

Select Save Bitmap.



Embedding fonts in movies

Before creating text or field cast members, it's good practice to embed the fonts you want to use in the movie. Embedding fonts makes Director store all font information in the movie file so that a font will display properly even if it is not installed in a user's system. Because embedded fonts are available only to the movie itself, there are no legal obstacles to distributing fonts in Director movies.

Embedded fonts appear in a movie as cast members and work on Windows and Macintosh computers. Director compresses embedded fonts so they usually only add 14 to 25K to a file.

For the best display at smaller sizes, include bitmap versions of a font when you embed a font. For small font sizes, usually from about 7 to 12 points, bitmap fonts often look better than anti-aliased outline fonts. (See About anti-aliased text.) Adding a set of bitmap characters does, however, make the font cast member larger. Examine the text display quality of your movie to find out if this option is worthwhile.

To speed up movie downloading, you can keep file size small by specifying a subset of characters to be included. You can also specify which point sizes to include as bitmaps and which characters to include in the font package. If you do not embed fonts in a movie, Director substitutes available system fonts.

If you create embedded fonts using the original font name followed by an asterisk (for example, Arial* for the Arial font), Director uses the embedded font for all the text in the movie that uses the original font. This saves you the trouble of manually reapplying the font to all the text in existing movies.

Once you embed a font in a movie file, the font appears on all of the movie's font menus, and you can use it as you would any other font.

To embed a font in a movie:

1

Choose Insert > Media Element > Font.

2

From the Original Font pop-up menu, choose a font that is currently installed on your system.

You cannot embed a font that is not installed on your system.

In the New Font Name box, the name of the font is followed by an asterisk. This is the name that will appear on all font menus in Director. In most cases, you should not change the name of a font.

3

To include bitmap versions of the font in specified sizes, click the Sizes button for Bitmaps and enter the point sizes you want to include, separated by spaces or commas. For example, you might enter 9, 10, 14.

4

To include bitmap versions of bold or italic characters with the font, select Bold or Italic.

This option provides better-looking bold and italic fonts if you are including a bitmap version of the font, but it increases the file size.

5

To specify the characters included in the font, choose an option for Characters.

Entire Set includes every character (symbols, punctuation, numbers, and so on) with the font.

Partial Set lets you choose exactly which characters are included. To choose a group of characters, select Punctuation, Numbers, Roman Characters, or Other. If you choose Other, enter the characters to be included in the box on the right. In some double-byte languages, other groups of characters may appear.