# Selection.setFocus(); problem

**URL:** <https://forum.kirupa.com/t/selection-setfocus-problem/4918>\
**Category:** flash\
**Created:** [August 24, 2002, 10:35pm UTC](https://forum.kirupa.com/t/selection-setfocus-problem/4918 "2002-08-24T22:35:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kev](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@kev](https://forum.kirupa.com/u/kev)\
**Post date:** [August 24, 2002, 10:35pm UTC](https://forum.kirupa.com/t/selection-setfocus-problem/4918/1 "2002-08-24T22:35:43Z")

</div>

Can anyone help. In Flash 5 I have an input text box on my main timeline. I have a button on the main timeline also that on roll over I want the cursor to start flashing in the input box.

I have tried Selection.setFocus(q); either as q being a variable or an instance name, but no luck.

Can anyone help please!

Kev
