# Text field Options

**URL:** <https://forum.kirupa.com/t/text-field-options/16866>\
**Category:** flash\
**Created:** [March 29, 2003, 5:47am UTC](https://forum.kirupa.com/t/text-field-options/16866 "2003-03-29T05:47:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dipti](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@Dipti](https://forum.kirupa.com/u/Dipti)\
**Post date:** [March 29, 2003, 5:47am UTC](https://forum.kirupa.com/t/text-field-options/16866/1 "2003-03-29T05:47:16Z")

</div>

Hello,

I have text field in which i write the matter and drag it to the desired position using drag and drop. After i place it i want to change the color of the text written in the text field as well as disable the border applied to the text field . how do i apply color to the text inside the text field and how do i remove the border

Regards  
Dipti

🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 1, 2003, 4:41am UTC](https://forum.kirupa.com/t/text-field-options/16866/2 "2003-04-01T04:41:29Z")

</div>

hi,

its so easy. Just creat a key frame in your second frame of text (layer1 of Drag), then remove the border and change the color. at present you are not used a key frame, in your text layer (layer1 of Drag)

if u want to change only color, even you can go for html embed and use “\<font color=#990000\>test to display\</font\>”(font color=#990000 html TAG not displyed here )

Again if u look for MX, yes you can with a interesting way

jest like …

\_root.createEmptyMovieClip(newName,depth)  
// you creat a MC because you need drag & drop  
\_root[“newName”].createTextField(“myText”,dep,x,y,w,h)  
\_root[“newName”].myText.text=“your text”

// then format the text

myFormat=new TextFormat()  
myFormat.font=Which font  
myFormat.size=font Size  
myFormat.color=color  
myFormat.bold=true  
myFormat.italic=false

pls. see mx help

go for the esiest way you think…

Regards  
Ajo  
[ajok@indiatimes.com](mailto:ajok@indiatimes.com)
