Maintaining text in textbox when switching between timeframes

Hi there :slight_smile:

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 :slight_smile:

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.

Thanks, this will probably work best :slight_smile:

or store the text in a variable :slight_smile:

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?