rhanenberg
%Europe/Berlin %509 %2008, 12:13
Is het mogelijk om de regelafstand voor een dynamisch stuk tekst te definieren?
Zou mooi zijn. ;)
Jan
%Europe/Berlin %510 %2008, 12:15
leading (TextFormat.leading property)
public leading : Number
An integer that represents the amount of vertical space in pixels (called leading) between lines. The default value is null, which indicates that the property is undefined.
var my_fmt:TextFormat = new TextFormat();
my_fmt.leading = 10;
this.createTextField("my_txt", 1, 100, 100, 100, 100);
my_txt.multiline = true;
my_txt.wordWrap = true;
my_txt.border = true;
my_txt.text = "This is my first text field object text";
my_txt.setTextFormat(my_fmt);
Groeten,
Jan
rhanenberg
%Europe/Berlin %618 %2008, 14:49
Helemaal super!!
Dank je wel!
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.