# \[Renamed\] Changing a TextField's Font and Color

**URL:** https://forum.kirupa.com/t/renamed-changing-a-textfields-font-and-color/304616
**Category:** flash
**Created:** [February 10, 2010, 8:55pm UTC](https://forum.kirupa.com/t/renamed-changing-a-textfields-font-and-color/304616 "2010-02-10T20:55:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![spielcool](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@spielcool](https://forum.kirupa.com/u/spielcool)
#### Post date: [February 10, 2010, 8:55pm UTC](https://forum.kirupa.com/t/renamed-changing-a-textfields-font-and-color/304616/1 "2010-02-10T20:55:47Z")

</div>

hi all,

i am new user of flash and learning the flash script.

i have got this script in flash8 help. but not able to change the font type and color. could anyone help me…plzzzz

…

\_root.mm.createTextField(“input\_txt”, 1, 34, 105, 530, 156);  
\_root.mm.input\_text.font= “times new roman”  
a=a+1;  
\_root.mm.input\_txt.border = false;  
\_root.mm.input\_txt.wordWrap = false;  
\_root.mm.input\_txt.multiline = false;  
\_root.mm.input\_txt.autoSize = true;  
\_root.mm.input\_txt.type = “input”;  
\_root.mm.input\_txt.background = 0xFFFFFF;  
\_root.mm.input\_txt.variable = a;  
loadVariables(“N.txt”,\_root.mm);  
if (a==6) {  
gotoAndPlay(1);  
}

…
