AS 2.0 textfield multiline help needed

hi guys
i am generating the following text box and the data in it dynamically:

_root.createTextField(“recipe”+i+"_txt", _root.getNextHighestDepth(), 5, 100, 600, 400);

the problem i am having is the text that is generated only stays on one line and therefore doesn’t fit into the text field.

i know there is a way to add the multiline property to other types of components but can this be done dynamically? if so can someone help me out and let me know!

thanks in advance, Dave :smirk: