beautypg.com

Adobe Flash Professional CC 2014 v.13.0 User Manual

Page 614

background image

First Line Offset specifies the alignment of the first line of text with the top of the text container. For example, you can make text fall a specific
distance below the top of the container. First line offset is often referred to as first baseline offset when working with Roman characters. In this
case, the baseline is an imaginary line on which the majority of the characters in a typeface rest. When working with TLF, baseline can refer to any
of the following, depending on the language being used: Roman, Ascent, Descent, Ideographic Top, Ideographic Center, and Ideographic
Bottom.

First Line Offset can have these values:

pt: Specify the distance in points between the baseline of the first line of text and the top inset of the frame. This setting enables a field for
specifying the point distance.

Auto: Aligns the top of the line, based on the tallest glyph, with the top of the container.

Ascent: The distance between the top inset of the text container and the baseline of the first line of text is the height of the tallest glyph in the
font (typically the "d" character in Roman fonts).

Line Height: The distance between the top inset of the text container and the baseline of the first line of text is the Line Height (leading) of
the line.

Direction Used to specify either a left-to-right or right-to-left text direction for the selected container. Left-to-right is used for most languages.
Right-to-left is used for Middle Eastern languages such as Arabic and Hebrew, and languages based on Arabic script such as Farsi or Urdu.

When applied at the paragraph level, direction controls the left-to-right or right-to-left text direction and the indents and punctuation used by the
paragraph. When applied at the container level, direction controls the column direction. Paragraphs in the container inherit the direction attribute
from the container.

Locale Sets the Locale property at the flow level. See Working with character styles.

Flowing text across multiple containers

Threading, or linking, between text containers is only available for TLF (Text Layout Framework) text and does not apply to Classic text blocks.
Text containers can be threaded from frame to frame, and inside symbols, as long as the threaded containers are all within the same timeline.

To link 2 or more text containers:

1. Use the Selection tool or Text tool to select a text container.

2. Click the In port or the Out port of the selected text container. (The In-port and Out-port positions on the text container are based on the

container's flow direction and vertical or horizontal setting. For example, if the text flow is Left-to-Right and horizontal , the In port is on the
upper left and the Out port is on the lower right. If the text flow is Right-to-Left, the In port is on the upper-right and the Out port is on the
lower left.)

The pointer changes to the loaded text icon.

3. Then do one of the following:

To link to an existing text container, position the pointer over the target text container. Click the text container to link the two containers.

To link to a new text container, click or drag on an empty part of the Stage. Clicking creates an object of the same size and shape as
the original; dragging lets you create a rectangular text container of any size. You can also add a new container between 2 linked
containers.

The containers are now linked and text can flow between them.

To unlink two text containers, do one of the following:

Place the container in edit mode and then double-click the In-port or Out-port that you want to unlink. The text reflows in the first of the two
containers.

Delete one of the linked text containers.

Note: After creating a linkage, the second text container acquires the flow direction and locale of the first container. After unlinking, these
settings persist in the second container instead of reverting to their pre-linkage settings. In Flash Pro CS5.5, scrolling performance is faster
than CS5, except for linked text containers.

Making text scrollable

You can make a TLF text container scrollable by adding a UIScrollBar component to the text container. The text container must have the following
settings:

The Text Type must be set to Editable or Selectable.

The Container and Flow Behavior must be set to Multiline or Multiline No Wrap.

Make a TLF text container scrollable:

Drag an instance of the UIScrollBar component from the Components Panel onto the text container, closest to the side of the container
where you want to attach it.

The UIScrollBar component snaps to the side of the text container.

607