//the following is located on frame one of a swf file this.onLoad = function() { var test:TextField = new TextField(); test = new TextField(); test.htmlText="yeah"; test._x=300; test._y=50; test._width=100; test._height=50; test.backbround=true; }