Rupert
06-11-2003, 08:21 AM
I'm posting this in "Simple stuff" cause I'm hoping it is simple - oh don't you love the positive attitude people!!
I'm building a kids interactive "thingy" (noun, singular) it has a bunch of functions in the first frame and then about 40 frames on which each one has a text question and an input text box called...."inputTextBox" - how original. You type in your answer and if you are right it sends you to the next frame, if not it calls you horrible things and makes you feel inadequate.
My problem is this - I am using the same dynamic input text box variable name in each of the following 40+ frames because i'm checking its value with stuff that was loaded on the first frame - so to give each text box a unique name would be impractical in this case. The first value typed into the first instance of inputTextBox seems to get stuck in memory somehow and even when I redeclare its value as inputTextBox = null; or inputTextBox = ""; the second and subsequent instances of the textbox continue to want the first value that was input.
Is there a way to continue to use the same input text box names and maybe clear the value from the variable somehow? I tried using "delete inputTextBox;" when i jumped to each new frame but it then stops accepting anything at all.
Cheers,
Rupert
I'm building a kids interactive "thingy" (noun, singular) it has a bunch of functions in the first frame and then about 40 frames on which each one has a text question and an input text box called...."inputTextBox" - how original. You type in your answer and if you are right it sends you to the next frame, if not it calls you horrible things and makes you feel inadequate.
My problem is this - I am using the same dynamic input text box variable name in each of the following 40+ frames because i'm checking its value with stuff that was loaded on the first frame - so to give each text box a unique name would be impractical in this case. The first value typed into the first instance of inputTextBox seems to get stuck in memory somehow and even when I redeclare its value as inputTextBox = null; or inputTextBox = ""; the second and subsequent instances of the textbox continue to want the first value that was input.
Is there a way to continue to use the same input text box names and maybe clear the value from the variable somehow? I tried using "delete inputTextBox;" when i jumped to each new frame but it then stops accepting anything at all.
Cheers,
Rupert