Input textbox return value; user problem

How do I code for a “Return or Enter” keystoke made by the user?

wordinput1_txt is a multiline with wrap on input textbox. When submit_btn is pressed it should then make tick_mc or cross_mc visible drepending if the inputed text (Blue Chair Two) was correct.

When testing, only cross_mc is made visible even when the inputed text is correct. This works fine when using a single line input text box and the user doesn’t do a return or the text wrappping.

I’m asking this now 'cos later in the project there will be a test with upto four lines of text for the user to input.


 
tick_mc._x = 244.4;
tick_mc._y = 128.4;
tick_mc._visible = false;
cross_mc._x = 244.4;
cross_mc._y = 128.4;
cross_mc._visible = false;
//
stop();
//
submit_btn.onRelease = function() {
 if (wordinput1_txt.text == "Blue Chair Two") {
  tick_mc._visible = true;
  cross_mc._visible = false;
 }else{
  cross_mc._visible = true;
 }
};

Any help apreciated. Using Flash 8 on WinXp, PC.

Thanks, Dom

eddited: adding verson of Flash.