1067: Implicit coercion of a value of type congrate to an unrelated type flash.display:DisplayObject : in one input text field has two possible answer which is luah or hal. why it is not working at all.someone please help me the right way to write a code??




stop();


//var jawapan1=Array;


txt_zuhal.addEventListener(KeyboardEvent.KEY_DOWN,handler);




function handler(event:KeyboardEvent)




{




//jawapan1=("luah", "hal");




   // if the key is ENTER




   if(event.charCode == 13)




   {      




	  if(txt_zuhal.text=='luah'||'hal')




		{		




			trace("1.correct");




		}




		else




		{	




			trace("1.Sorry, Wrong answer");




		}




   }




}



