Cragdo
03-01-2003, 01:05 AM
I want to have a user type something into an input box...
press enter...
and print what they just wrote on the input box in a dynamic text box. I also want to have the input box cleared out when enter is pressed... I have a submit button with the following on it :)
on (release, keyPress "<Enter>") {
command += newline;
command += input;
input = "";
}
Any ideas why this doesn't work....
Just for any help this may bring (to show it's not the button or whatever)
the following script does work (well not the input part) but does print out an unchanging sting on a newline
on (release, keyPress "<Enter>") {
command += newline;
command += "some random junk"
input = "";
}
Help... if you can ;) thanks
press enter...
and print what they just wrote on the input box in a dynamic text box. I also want to have the input box cleared out when enter is pressed... I have a submit button with the following on it :)
on (release, keyPress "<Enter>") {
command += newline;
command += input;
input = "";
}
Any ideas why this doesn't work....
Just for any help this may bring (to show it's not the button or whatever)
the following script does work (well not the input part) but does print out an unchanging sting on a newline
on (release, keyPress "<Enter>") {
command += newline;
command += "some random junk"
input = "";
}
Help... if you can ;) thanks