If i remember correctly it should be:

tmpField.wordWrap = true;


hth,
B.

On Wed, May 7, 2008 at 10:03 AM, Alistair Colling <[EMAIL PROTECTED]>
wrote:

> Hi there, thanks for checking this.
>
> I'm generating a textfield from within a custom class but I can't seem to
> make it multiline, I can see the border of the textfield is the right size
> my text only appears on the first line and also my carriage returns "\r" are
> having no effect.
> I've tried a number of options for properties of the textfield but I cant
> seem to get it to work.
>
> Any suggestions thankfully received this is taking lots of time for a
> simple thing!
> Cheers,
> Ali
>
>
>
> Here's the code from within my class:
>
>
>
>
>                        var oline:MovieClip = mainMC.monkey.bubble.outline
>                        var tmpBox:MovieClip =
> mainMC.monkey.bubble.createEmptyMovieClip("text_mc", 1);
>                        var tmpField:TextField =
> tmpBox.createTextField("my_txt", 1, oline._x, oline._y, oline._width,
> oline._height);
>                        tmpField.selectable = false;
>                        tmpField.border = true;
>                        tmpField.embedFonts = true;
>                        tmpField.type = "dynamic";
>                        tmpField.multiline = true;
>                        tmpField.text = Q.monkeyStr;
>                        tmpField.setTextFormat(myM);
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to