bluewalrus
07-16-2008, 06:43 PM
Can't get this to work. Don't know why I think i have to declare something I forgot about. I have a text field type input text with an instance name inputData. I have a submit button called submit. This is the action script associated with is:
var test:String='Your Name is' + inputData.text + 'Right?';
if (all.selected==true) {
submit.onRelease=function() {
trace(test);
}
}
The trace brings back a result of Your Name isRight?. Completely ignoring any input put in. It does the same thing if nothing is put in and the submit is hit. Any help you have is appreciated. Thanks.
var test:String='Your Name is' + inputData.text + 'Right?';
if (all.selected==true) {
submit.onRelease=function() {
trace(test);
}
}
The trace brings back a result of Your Name isRight?. Completely ignoring any input put in. It does the same thing if nothing is put in and the submit is hit. Any help you have is appreciated. Thanks.