all groups > flash actionscript > february 2004 >
You're in the

flash actionscript

group:

Textfield.html = true vs TextField.setTextFormat


Textfield.html = true vs TextField.setTextFormat Nixy
2/11/2004 10:48:46 PM
flash actionscript:
H
I need to use html textfield to control when the text must change the line (br
tag). The problem is that I can't use setTextFormat if I use html text. Is
there a workaround? I need to dynamicly create my textfield. And set the text
format that I created before

Tanx in advance
Re: Textfield.html = true vs TextField.setTextFor jerome NO[at]SPAM STC
2/12/2004 4:17:20 AM
hello

With a dynamic textfield called test.

test.text = "hello \rworld";

will displa

hell
worl

Use \r to replace <BR> and you won't have to use html text. You will need to
embed the font if it's not a system one
AddThis Social Bookmark Button