# How do I cahnge the border color of an input text box?

**URL:** <https://forum.kirupa.com/t/how-do-i-cahnge-the-border-color-of-an-input-text-box/24524>\
**Category:** flash\
**Created:** [July 1, 2003, 7:58pm UTC](https://forum.kirupa.com/t/how-do-i-cahnge-the-border-color-of-an-input-text-box/24524 "2003-07-01T19:58:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlashDeano](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@FlashDeano](https://forum.kirupa.com/u/FlashDeano)\
**Post date:** [July 1, 2003, 7:58pm UTC](https://forum.kirupa.com/t/how-do-i-cahnge-the-border-color-of-an-input-text-box/24524/1 "2003-07-01T19:58:54Z")

</div>

I am sure I am asking another stupid question but…

How do I change the border color of an input text box?

Thanks

---

<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:** [July 1, 2003, 8:05pm UTC](https://forum.kirupa.com/t/how-do-i-cahnge-the-border-color-of-an-input-text-box/24524/2 "2003-07-01T20:05:17Z")

</div>

add a layer above the input text box and draw what you want your border to look like, gradient filles, images, whatever you want and then make sure it’s lined up with the input text box’s border and then set the input text box to have no border. that way instead of just changing the color you can completely change the box

i’m pretty sure there is a variable that you can specify to change the border color of a text box, but i don’t have flash here at work so that’s the solution i have for you off the top of my head

i hope this helps

---

<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:** [July 1, 2003, 8:15pm UTC](https://forum.kirupa.com/t/how-do-i-cahnge-the-border-color-of-an-input-text-box/24524/3 "2003-07-01T20:15:38Z")

</div>

Sounds OK to me. I am happy with a workaround.

Thanks for the reply

---

<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:** [July 1, 2003, 8:17pm UTC](https://forum.kirupa.com/t/how-do-i-cahnge-the-border-color-of-an-input-text-box/24524/4 "2003-07-01T20:17:44Z")

</div>

anytime =)

---

<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:** [July 1, 2003, 8:24pm UTC](https://forum.kirupa.com/t/how-do-i-cahnge-the-border-color-of-an-input-text-box/24524/5 "2003-07-01T20:24:06Z")

</div>

[AS]textBoxInstanceName.border = true;  
textBoxInstanceName.borderColor = 0xFF0000;[/AS]

=)

---

<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:** [July 1, 2003, 8:25pm UTC](https://forum.kirupa.com/t/how-do-i-cahnge-the-border-color-of-an-input-text-box/24524/6 "2003-07-01T20:25:01Z")

</div>

that’s it … i knew i had done it before … but i couldn’t remember the code off the top of my head

---

<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:** [July 1, 2003, 9:12pm UTC](https://forum.kirupa.com/t/how-do-i-cahnge-the-border-color-of-an-input-text-box/24524/7 "2003-07-01T21:12:17Z")

</div>

Thanks for all of your replies.

I hope I wil be good enough to answer some questions one day!
