# Maintaining text in textbox when switching between timeframes

**URL:** <https://forum.kirupa.com/t/maintaining-text-in-textbox-when-switching-between-timeframes/13210>\
**Category:** flash\
**Created:** [February 10, 2003, 12:44pm UTC](https://forum.kirupa.com/t/maintaining-text-in-textbox-when-switching-between-timeframes/13210 "2003-02-10T12:44:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danneman](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@Danneman](https://forum.kirupa.com/u/Danneman)\
**Post date:** [February 10, 2003, 12:44pm UTC](https://forum.kirupa.com/t/maintaining-text-in-textbox-when-switching-between-timeframes/13210/1 "2003-02-10T12:44:53Z")

</div>

Hi there 🙂

Im making a two-framed movie.

In frame one, I have a input-textbox, and a button to take me to frame two.

In frame two, there is nothing but a button to take me back to frame one. (ie. the input-textbox from frame one is not present).

The problem I have is that when I input some text in the input-textbox, and then temporarily switch to frame two, and then back again to frame one, the text that I typed in is gone.

How can I solve this?

Thanx 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2003, 1:28pm UTC](https://forum.kirupa.com/t/maintaining-text-in-textbox-when-switching-between-timeframes/13210/2 "2003-02-10T13:28:25Z")

</div>

you could have the textbox inside a movie-clip, then set the .\_visible property to false in the second frame and back to true in the first.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2003, 2:18pm UTC](https://forum.kirupa.com/t/maintaining-text-in-textbox-when-switching-between-timeframes/13210/3 "2003-02-10T14:18:49Z")

</div>

Thanks, this will probably work best 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2003, 2:37pm UTC](https://forum.kirupa.com/t/maintaining-text-in-textbox-when-switching-between-timeframes/13210/4 "2003-02-10T14:37:30Z")

</div>

or store the text in a variable 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2003, 3:03pm UTC](https://forum.kirupa.com/t/maintaining-text-in-textbox-when-switching-between-timeframes/13210/5 "2003-02-10T15:03:49Z")

</div>

That was actually my initial thought.

But since Im using levels with different applications on the various levels, and some of these are interactive (for instance a chat) and should be updated even when the application is on frame two (ie hidden, or minimized), I think invisible would work best.

I mean, I dont incapacitate the textfields ability to be updated from an external source (for instance, a php-script sending chat-messages) when it´s set on invisible, do I?
