# New TextFormat

**URL:** <https://forum.kirupa.com/t/new-textformat/163252>\
**Category:** Uncategorized\
**Created:** [September 21, 2005, 1:58am UTC](https://forum.kirupa.com/t/new-textformat/163252 "2005-09-21T01:58:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JayFranchize](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@JayFranchize](https://forum.kirupa.com/u/JayFranchize)\
**Post date:** [September 21, 2005, 1:58am UTC](https://forum.kirupa.com/t/new-textformat/163252/1 "2005-09-21T01:58:18Z")

</div>

I’m trying to set the size of a textfield. Here’s the code that’s not cutting it:

this.createTextField(“money”,2,100,50,30,20);

money.textColor=“0xFF0000” ;  
money.selectable=false;

MyMoney=new TextFormat();  
MyMoney.size=40;  
MyMoney.font= “Verdana”  
money.setTextFormat(MyMoney);

This code, which I got from actionscript bible and other places, is not working…any solutions Flashers? would appreciate an succor…
