Indeed, if you set the width of a TextField and autoSize to LEFT, it will
automatically resize only the height.


Greetz Erik


On 4/1/08, Andrew Murphy <[EMAIL PROTECTED]> wrote:
>
> You can also do it like this:
>
> var tf:TextField = new TextField();
> with(tf){
>         autoSize = TextFieldAutoSize.LEFT;
>         wordWrap = true; // width wordWrap set to true it autosizes
>                                 // the height to fit the text
>         w = 300;
>         text = "Blahblahblah yackitty schmackity."
> }
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to