# Text Selection Event

**URL:** <https://forum.kirupa.com/t/text-selection-event/286013>\
**Category:** flash\
**Created:** [April 8, 2009, 7:28pm UTC](https://forum.kirupa.com/t/text-selection-event/286013 "2009-04-08T19:28:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spectator](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@spectator](https://forum.kirupa.com/u/spectator)\
**Post date:** [April 8, 2009, 7:28pm UTC](https://forum.kirupa.com/t/text-selection-event/286013/1 "2009-04-08T19:28:07Z")

</div>

Hi all 🙂  
Is there a Text Selection Event in AS 3.0? I have some text in a TextField and I want when user selects it to add to it some html formating (\<p\>\<a\>). I want to create my own TextEditor which has some specific options but I couldn’t find a TextSelectionEvent. Please help. 10x in advance 🙂
