03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

public class TextFormat<br />

extends Object<br />

The TextFormat class represents character formatting information. Use the TextFormat class<br />

to create specific text formatting for text fields. You can apply text formatting to both static<br />

<strong>and</strong> dynamic text fields. Some properties of the TextFormat class are not available for both<br />

embedded <strong>and</strong> device fonts.<br />

See also<br />

setTextFormat (TextField.setTextFormat method), getTextFormat<br />

(TextField.getTextFormat method)<br />

Property summary<br />

Modifiers Property Description<br />

align:String A string that indicates the alignment of the<br />

paragraph.<br />

blockIndent:Number A number that indicates the block indentation in<br />

points.<br />

bold:Boolean A Boolean value that specifies whether the text is<br />

boldface.<br />

bullet:Boolean A Boolean value that indicates that the text is part<br />

of a bulleted list.<br />

color:Number A number that indicates the color of text.<br />

font:String A string that specifies the name of the font for text.<br />

indent:Number An integer that indicates the indentation from the<br />

left margin to the first character in the paragraph.<br />

italic:Boolean A Boolean value that indicates whether text in this<br />

text format is italicized.<br />

leading:Number An integer that represents the amount of vertical<br />

space in pixels (called leading) between lines.<br />

leftMargin:Number The left margin of the paragraph, in points.<br />

rightMargin:Number The right margin of the paragraph, in points.<br />

size:Number The point size of text in this text format.<br />

tabStops:Array Specifies custom tab stops as an array of nonnegative<br />

integers.<br />

TextFormat 655

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!