This content has been marked as final.
Show 3 replies
-
1. Re: TextAlign for TextArea Componenet in Action Script 3.0
eze_diablo Sep 19, 2007 10:23 PM (in response to AScracker)try with this:
var format:TextFormat=new TextFormat();
format.align="left";
tf=new TextField();
tf.width=200;
tf.height=100;
tf.x=10;
tf.y=10;
tf.wordWrap=true;
tf.multiline=true
tf.border=true;
tf.defaultTextFormat=format; // <-- -
2. Re: TextAlign for TextArea Componenet in Action Script 3.0
AScracker Sep 19, 2007 10:41 PM (in response to eze_diablo)Thanks for reply
it's workig fine...
-
3. Re: TextAlign for TextArea Componenet in Action Script 3.0
Sparkerman1711 Nov 23, 2007 11:34 AM (in response to AScracker)this works for a text field but not if you are using AS3 text area component.
How would you do this for a text area component?
