title: flash If statement only working on the second time
body: <p>I'm doing a page that checks for a typed answer and either says "correct" or "wrong" based on the response. The issue is that it works only in the second time.</p>
  
  <p>I ask a question about world war 2 and the answer is 'hiroshima' no capital letters, but when i type it the first time i get "wrong" if i type it again it says it is correct.</p>
  
  <p>any ideas of what im doing wrong?</p>
  
  <p>this is my code which is trigger by an even listener on a button.</p>
  
  <pre><code>function examineTest(event:Event) : void{
  
      if (testPage.answerText.text=='hiroshima')
      {
          testPage.checkText.text="Correct!"
      }
  
      else
  
      {
          testPage.checkText.text="Sorry you enter the wrong answer"
          testPage.answerText.text=""
      }
  }
  </code></pre>