this.createTextField("t1", 0, 200, 200, 400, 50);
t1.multiline = true; //true/false
t1.wordWrap = true; //true/false
t1.type = "dynamyc"; //"dynamic", "input"
t1.border = true; //true/false
t1.embedFonts = false; //embed the font, true/false
t1.html = false; //treat the text box as html text, true/false
t1.selectable = true; //can be selected true/false
t1.mouseWheelEnabled = true; //can use the mouse wheel to scroll the text, true/false
t1.maxChars = null; //if type is input, password, then how many characters can be typed in, number from 0 and up
var format:TextFormat = new TextFormat();
format.color = 0x000000; //hexagesimal color number
t1.setTextFormat(format); //apply the format to the textbox
t1.text = "Hello, this is my text."; //add text