Using Director > Text > Formatting text or field cast members with Lingo

 

Formatting text or field cast members with Lingo

In addition to formatting text in any chunk expression, Lingo can specify anti-aliasing and kerning for an entire text cast member and control the appearance of the text's bounding rectangle.

 
Setting anti-aliasing and kerning with Lingo

Use Lingo to specify anti-aliasing and kerning for a text cast member.

To specify whether Director anti-aliases text in a text cast member, set the antiAlias cast member property. See antiAlias.

To specify the size at which anti-aliasing in a text cast member takes effect, set the antiAliasThreshold cast member property. See antiAliasThreshold.

To specify automatic kerning for a text cast member, set the kerning cast member property. See kerning.

To specify the size at which automatic kerning for a text cast member takes effect, set the kerningThreshold cast member property. See kerningThreshold.

 
Formatting text boxes with Lingo

Lingo can specify the type of box that surrounds a text or field cast member. For field cast members, Lingo can also specify box characteristics such as borders, margins, drop shadows, and height.

To specify the type of box around a text or field, set the boxType cast member property. See boxType.

To specify the size of the border around a field, set the border field cast member property. See border.

To specify the size of the margin inside a field's box, set the margin field cast member property. See margin.

To specify the size of the drop shadow for a field's box, set the boxDropShadow field cast member property. See boxDropShadow.

To specify the height of a field's box on the Stage, set the pageHeight field cast member property. See pageHeight.

 
Setting text autotabbing and wrapping with Lingo

Lingo can set text autotabbing and wrapping.

To specify autotabbing for text or field cast members, set the autoTab cast member property. See autoTab.

To specify whether lines wrap in a field cast member, set the wordWrap cast member property. See wordWrap.