Align (Textformat.align Property) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Properties inherited from class Object
constructor (Object.constructor
property),
prototype (Object.prototype
(Object.__resolve property)
Constructor summary
Signature
TextFormat([font:String], [size:Number],
[color:Number], [bold:Boolean],
[italic:Boolean], [underline:Boolean],
[url:String], [target:String],
[align:String], [leftMargin:Number],
[rightMargin:Number], [indent:Number],
[leading:Number])
Method summary
Modifiers
Signature
getTextExtent(text:String,
[width:Number]) :
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),

align (TextFormat.align property)

public align :
String
A string that indicates the alignment of the paragraph. You can apply this property to static
and dynamic text. The following list shows possible values for this property:
—the paragraph is left-aligned.
"left"
—the paragraph is centered.
"center"
—the paragraph is right-aligned.
"right"
property),
Object
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
__proto__ (Object.__proto__
property),
__resolve
Description
Creates a TextFormat object with the
specified properties.
Description
Returns text measurement information for the
text string text in the format specified by
my_fmt.
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
toString
method),
valueOf
TextFormat
697

Advertisement

Table of Contents
loading

Table of Contents