Hi there,
I’m relatively new to Flash, but I’m learning quickly. What I’d like to create is a form where a user can enter text into a textfield box on the left, and then when the hit submit, another text box on the right shows the text they entered wrapped with brackets. I can’t figure out how to set this up.
text box here: output box here: (with their results)
they type:
hat [hat]
dog [dog]
bird [bird]
I’ve learned the code would be something like:
var MYVAR = “hat”;
trace(MYVAR);
var MYVAR = “[” + MYVAR + “]”
trace(MYVAR)
except that this outputs the original word in its unwrapped state as well.
I think I can figure out how to tell the button what to do on submit, using this code to wrap the words, but I don’t know how to get the output to appear in a text box beside it.
I’ve gone through several of the wonderful tutorials here. I think I’m dealing with strings.
Any help is greatly appreciated.
Thanks,
Apryl