# AS3.0 what happened to selection.setFocus (someTxt);

**URL:** <https://forum.kirupa.com/t/as3-0-what-happened-to-selection-setfocus-sometxt/255073>\
**Category:** flash\
**Created:** [March 18, 2008, 7:12pm UTC](https://forum.kirupa.com/t/as3-0-what-happened-to-selection-setfocus-sometxt/255073 "2008-03-18T19:12:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Multi\_Task](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)\
**Post date:** [March 18, 2008, 7:12pm UTC](https://forum.kirupa.com/t/as3-0-what-happened-to-selection-setfocus-sometxt/255073/1 "2008-03-18T19:12:57Z")

</div>

AS2 selection.setFocus (someTxt); someTxt field would be selected with cursor in field.

AS3 someTxt.setFocus(); focused on but not with cursor in field.

How to do? I have tried many things. Ahhhh the little things.
