# \[AS2\] Setting highlight color of a text field dynamically?

**URL:** <https://forum.kirupa.com/t/as2-setting-highlight-color-of-a-text-field-dynamically/290479>\
**Category:** flash\
**Created:** [June 15, 2009, 5:05pm UTC](https://forum.kirupa.com/t/as2-setting-highlight-color-of-a-text-field-dynamically/290479 "2009-06-15T17:05:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amzipotatosheep](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@Amzipotatosheep](https://forum.kirupa.com/u/Amzipotatosheep)\
**Post date:** [June 15, 2009, 5:05pm UTC](https://forum.kirupa.com/t/as2-setting-highlight-color-of-a-text-field-dynamically/290479/1 "2009-06-15T17:05:18Z")

</div>

I’m currently working on a project that involves adding text fields dynamically, and I realized I need to change the color of the highlight when the text is selected. Anybody know an easy way to do this?
