I’m trying to dynamically create a static text field on the stage, but I want it to automatically shrink to the smallest height possible, much like a static text box dragged created using the Text Tool. I don’t know how to get it to work, so hopefully there is an easy answer.
Here’s my code at current:
_root.createTextField("text_box"+i,i,10,10,530,100);
_root["text_box"+i].type = "static";
_root["text_box"+i].text = text_arr*;
_root["text_box"+i].wordWrap = true;
_root["text_box"+i].multiline = true;
Thanks a lot!