[an error occurred while processing this directive]
ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes

Language Reference only       
Package and class filters:
Retrieving Data from Server...
Retrieving Data from Server...
Retrieving Data from Server...
Retrieving Data from Server...
flash.text 
TextFormatAlign 
Packageflash.text
Classpublic final class TextFormatAlign
InheritanceTextFormatAlign Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0, Flash Player 9, Flash Lite 4

The TextFormatAlign class provides values for text alignment in the TextFormat class.

Related API Elements



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  CENTER : String = "center"
[static] Constant; centers the text in the text field.
TextFormatAlign
      END : String = "end"
[static] Constant; aligns text to the end edge of a line.
TextFormatAlign
  JUSTIFY : String = "justify"
[static] Constant; justifies text within the text field.
TextFormatAlign
  LEFT : String = "left"
[static] Constant; aligns text to the left within the text field.
TextFormatAlign
  RIGHT : String = "right"
[static] Constant; aligns text to the right within the text field.
TextFormatAlign
      START : String = "start"
[static] Constant; aligns text to the start edge of a line.
TextFormatAlign
Constant Detail

CENTER

Constant
public static const CENTER:String = "center"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0, Flash Player 9, Flash Lite 4

Constant; centers the text in the text field. Use the syntax TextFormatAlign.CENTER.

Related API Elements

    

END

Constant 
public static const END:String = "end"

Language Version: ActionScript 3.0
Runtime Versions: AIR 3

Constant; aligns text to the end edge of a line. Same as right for left-to-right languages and same as left for right-to-left languages.

The END constant may only be used with the StageText class.

Related API Elements

JUSTIFY

Constant 
public static const JUSTIFY:String = "justify"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0, Flash Player 9, Flash Lite 4

Constant; justifies text within the text field. Use the syntax TextFormatAlign.JUSTIFY.

Related API Elements

LEFT

Constant 
public static const LEFT:String = "left"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0, Flash Player 9, Flash Lite 4

Constant; aligns text to the left within the text field. Use the syntax TextFormatAlign.LEFT.

Related API Elements

RIGHT

Constant 
public static const RIGHT:String = "right"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0, Flash Player 9, Flash Lite 4

Constant; aligns text to the right within the text field. Use the syntax TextFormatAlign.RIGHT.

Related API Elements

    

START

Constant 
public static const START:String = "start"

Language Version: ActionScript 3.0
Runtime Versions: AIR 3

Constant; aligns text to the start edge of a line. Same as left for left-to-right languages and same as right for right-to-left languages.

The START constant may only be used with the StageText class.

Related API Elements