TextFormat.leftMargin
Availability
Flash Player 6.
Usage
my_fmt.leftMargin:Number
Description
Property; the left margin of the paragraph, in points. The default value is
that the property is undefined.
Example
The following example creates a text field and sets the left margin to 20 points.
this.createTextField("mytext",1,100,100,100,100);
mytext.multiline = true;
mytext.wordWrap = true;
mytext.border = true;
var myformat:TextFormat = new TextFormat();
myformat.leftMargin = 20;
mytext.text = "this is my first test field object text";
mytext.setTextFormat(myformat);
, which indicates
null
TextFormat.leftMargin
957
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