A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: answer input in all cases

  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    33

    answer input in all cases

    i have created a fill-up word blank and button. After filling up the word blank, click on "result" btn.

    the instance name of the text field is answer_txt.

    result_btn.onRelease = function()
    {
    answer = answer_txt.text;
    if (answer == "apartment") {
    gotoAndPlay(2);
    } else{
    gotoAndPlay(3);
    }
    }

    How do i make the script recognise the answer input in all cases? For e.g
    aPArtment, APARTMENT...

  2. #2
    Member
    Join Date
    Aug 2008
    Posts
    33
    thanks. it works. :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center