# Text Field

**URL:** <https://forum.kirupa.com/t/text-field/328957>\
**Category:** Uncategorized\
**Created:** [July 6, 2012, 10:46am UTC](https://forum.kirupa.com/t/text-field/328957 "2012-07-06T10:46:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nixi](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@Nixi](https://forum.kirupa.com/u/Nixi)\
**Post date:** [July 6, 2012, 10:46am UTC](https://forum.kirupa.com/t/text-field/328957/1 "2012-07-06T10:46:58Z")

</div>

Hi…plzz someone tell me the AS3 script for the following…

suppose i have a [COLOR=#0000cd]button[/COLOR] and a [COLOR=#0000cd]textfield[/COLOR](instance name of input text is “mytext”) in frame 1.  
Now when i press the button the playhead goes to frame no. 10 using gotoAndStop…  
In frame no. 10 there is another [COLOR=#0000cd]textfield[/COLOR](instance name is “yourtext”)…

Now i want that wahatever i had witten in “mytext” should be displayed in “yourtext” when the playhead stops there…so plzz tell the script for this.

THANK YOU!
