TextFormat.blockIndent
Availability
Flash Player 6.
Usage
my_fmt.blockIndent:Number
Description
Property; a number that indicates the block indentation in points. Block indentation is applied to
an entire block of text; that is, to all lines of the text. In contrast, normal indentation
(
TextFormat.indent
TextFormat object does not specify block indentation.
Example
This example creates a text field with a border and sets the blockIndent to 20.
this.createTextField("mytext",1,100,100,100,100);
mytext.multiline = true;
mytext.wordWrap = true;
mytext.border = true;
var myformat:TextFormat = new TextFormat();
myformat.blockIndent = 20;
mytext.text = "this is my first test field object text";
mytext.setTextFormat(myformat);
946
Chapter 2: ActionScript Language Reference
) affects only the first line of each paragraph. If this property is
, the
null
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers