Mang
01-27-2009, 02:42 AM
I'm trying to evaluate user input from a textbox using an else if statement.
I understand the concept of else if. The problem is that flash isn't recognizing upper case letters. Is that true?
Here's what I have:
if(_level0.AnswerTxt.text == "i morgen") then...
else if(_level0.AnswerTxt.text == "I morgen")then...
If I enter the uppercase "I" into the text box Flash doesn't appear to recognise it (doesn't execute). I know I have the else if correct. Is there some trick to this?
Thanks,
Mangman
I understand the concept of else if. The problem is that flash isn't recognizing upper case letters. Is that true?
Here's what I have:
if(_level0.AnswerTxt.text == "i morgen") then...
else if(_level0.AnswerTxt.text == "I morgen")then...
If I enter the uppercase "I" into the text box Flash doesn't appear to recognise it (doesn't execute). I know I have the else if correct. Is there some trick to this?
Thanks,
Mangman