ActionScript flashmx.as
1 _root.createTextField("mytext",1,100,100,300,100); 2 mytext.multiline = true; 3 mytext.wordWrap = true; 4 mytext.border = false; 5 6 myformat = new TextFormat(); 7 myformat.color = 0xff0000; 8 myformat.bullet = false; 9 myformat.underline = true; 10 11 mytext.text = "Hello World"; 12 mytext.setTextFormat(myformat);