i put the following code in the frame 14 in "action" layer
When i enter some wording in textinput "quiz" and press
the result is that the trace window correctly show what i
have typed in frame1 of "form" layer
but when go to frame 14 in "form" layer , it will show
underfined in trace window.
What is the problem?
If the textinput "quiz" doesn't exist in the 14th frame or if
you've insertedd a keyframe, thus adding a new instance of "quiz"
and clearning out the text your typed in frame 1, then the variable
that is "quiz.text" doesn't exist in frame 14.
Either the text input from frame 1 has to still be on the
stag in frame 14 or you need to store the text inut from frame 1 in
a variable that can be accessed in frame 14. That is easy to do. In
your button click code, type:
var myVar:String = quiz.text;
Now when you want to get the text (via trace or some other
method), just use "myVar". So in frame 14, you can change the code