# Text Selection Question

**URL:** <https://forum.kirupa.com/t/text-selection-question/256424>\
**Category:** flash\
**Created:** [April 2, 2008, 9:54pm UTC](https://forum.kirupa.com/t/text-selection-question/256424 "2008-04-02T21:54:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RyuuJin](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@RyuuJin](https://forum.kirupa.com/u/RyuuJin)\
**Post date:** [April 2, 2008, 9:54pm UTC](https://forum.kirupa.com/t/text-selection-question/256424/1 "2008-04-02T21:54:09Z")

</div>

What I am basically looking to do is make selected text a certain colour when it is selected. I was hoping you could just do something like this…

```auto

Text.setSelectedColor(0x66FF00)

```

Unfortunately, it doesn’t seem to be that easy.

Does anyone know a simple method where I can do this? I was looking through flash help, but I could not really find any examples of the method “setSelection()”.
