PDA

View Full Version : How to keep text field text values after moving in time line?


wickwood
06-25-2006, 03:35 AM
I'm trying to to make flash application that requires the user to input data on several keyframes in the time line. I have buttons that take the user back and forth between the different keyframes so a user can input the needed data in what ever order they wish and/or go back and change it if they want.

My problems is, that as soon as the user clicks the button to go to another point in the timeline, and they come back, those input textfields that they entered data in are now empty again.

I hope that all makes sense. It seems that there must be an easy way (or even a hard way) to prevent this, and get these fields to retain the input data.

Any help would be GREATLY Appreciated!!!!!

Thanks in Advance!

Paerez
06-25-2006, 10:40 PM
Put the text components on one layer, and have that layer have frames all the way through the application. Then, when you move around in the timeline the components still exist. To hide them, create a layer that has a big MC that is the color of the background that only has frames where you want to hide it. Then put this layer over the component layer.

brolife
06-29-2006, 01:52 AM
better way to hide them is:

instancename._visible=false;

or

instancename._alpha=0;