Adobe Flex 2 Language Reference - collected by Jimbob | Back to MY RESOURCES


Packageflash.text
Classpublic final class TextFormatAlign
InheritanceTextFormatAlign Inheritance Object

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

See also

flash.text.TextFormat


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
setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void
Sets the availability of a dynamic property for loop operations.
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
  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
Constant detail
CENTERconstant
public static const CENTER:String = "center"

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

See also

JUSTIFYconstant 
public static const JUSTIFY:String = "justify"

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

See also

LEFTconstant 
public static const LEFT:String = "left"

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

See also

RIGHTconstant 
public static const RIGHT:String = "right"

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

See also






collected by Jimbob 2007.05