Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to create a Check_Answer Button

Guest
May 04, 2014 May 04, 2014

Sir

I want to create a button of "Match_Answer"

that return me situation done user is correct or not

can you help me

TOPICS
ActionScript
209
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 05, 2014 May 05, 2014

What answer needs to be checked against what question?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 05, 2014 May 05, 2014
LATEST

You need to see if they answered the question correctly? Just have a code like this for your button click:

var correct:Boolean

if (OBJECT_HERE.text == "ANSWER_HERE") {RESULT_HERE(something like correct = true}

else {NOT_CORRECT(something like correct = false)}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines