# Accessing a TextField from an instance name

**URL:** <https://forum.kirupa.com/t/accessing-a-textfield-from-an-instance-name/324264>\
**Category:** Uncategorized\
**Created:** [August 11, 2011, 10:03am UTC](https://forum.kirupa.com/t/accessing-a-textfield-from-an-instance-name/324264 "2011-08-11T10:03:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flash27](https://avatars.discourse-cdn.com/v4/letter/f/ba8739/32.png) [@flash27](https://forum.kirupa.com/u/flash27)\
**Post date:** [August 11, 2011, 10:03am UTC](https://forum.kirupa.com/t/accessing-a-textfield-from-an-instance-name/324264/1 "2011-08-11T10:03:03Z")

</div>

I have a movie clip which animates out and then places an input textfield on the last frame for the user to type in to.

The main movie clip is controlled from external ActionScript. Once the last frame hits and the input field shows I want to focus the users cursor with focus(); but I can’t figure out how to call to that TextInput from the time line. mytext.focus(); ???
