A Flash Developer Resource Site

Results 1 to 15 of 15

Thread: [RESOLVED] That Quiz Again

Threaded View

  1. #1
    Senior Member
    Join Date
    Mar 2008
    Posts
    168

    resolved [RESOLVED] That Quiz Again

    I completely re-wrote this quiz and had it running perfectly then my buddy asked if he could have T&F questions.

    No problem I created a variable "numOfAnswers" then a fucntion to check the value for the number of answers "numOfAnswers". I then set a for loop and when the number of answers is less that 4 (hence T&F) make the instances for answer text 3 & 4 and their buttons invisable this is on T&F questions.

    Problem One:
    My hide function sort of works, it hides answer text and button for #4 but not #3 on a True and False question. This I can't understand why 4 but not 3.

    Problem Two:
    When you answer the question correctly it returns a "Correct Response" along with telling the user they got it correct. When you run it you will see that works on the questions with 4 answers but not on the T & F questions with just two answers.

    Any help would be greatly appreciated.
    Last edited by ADVaughn; 07-28-2012 at 11:07 AM.

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