Is there any way to dynamically set the "character width" of a text field? I don't want the text to stretch - I want the text to wrap according to the width of the field, as text would in a text editor when you resize the window.
There are much more functionality to textfields. You can create a WYSIWYG editor when I intepreted one Flashguru post lately right. (Can't find it right now, maybe on were-here)
//create a new textfield with wordwrap
//this.createTextField("instance_name",1depth,x,y,width,height)
this.createTextField("mytext",1,0,0,200,100)
mytext.wordWrap=true
Then if you put some text into the textfield:
Code:
i=10
while(--i){
mytext.text+="another line of text\n";
}
Then if you change the width of text textfield using: