A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Quiz answer with comment error

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Location
    Carlifonia
    Posts
    16

    Quiz answer with comment error

    Hello Guys,

    I made a quiz application that extends to a section where the user gets to see the answer he/she chose then a comment below stating whether it is right or wrong then giving the right answer. It works well. But I discovered that if I ignore a question without selecting any of its answers (using radiobuttons) it generates an error in the answers section. I have not been able to make this work , that is to make the program say something like ("you did not select an answer") when the user does not select any answer of a particular question.ie for the program to recognise no answer chosen and not give an error.

    thanks in anticipation. i have attached a sample copy for you to see.use the link below

    http://s000.tinyupload.com/?file_id=...40361545756221

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi

    No room to post the file here, so try

    http://fruitbeard.net/uploaded/rayicon.zip

    You might want to look into filling your radioGroups up using arrays as it will save you having to keep typing in the answer/question text throughout the frames and save a bit of headache.

  3. #3
    Junior Member
    Join Date
    Dec 2012
    Location
    Carlifonia
    Posts
    16
    Quote Originally Posted by fruitbeard View Post
    Hi

    No room to post the file here, so try

    http://fruitbeard.net/uploaded/rayicon.zip

    You might want to look into filling your radioGroups up using arrays as it will save you having to keep typing in the answer/question text throughout the frames and save a bit of headache.
    wow. that didnt cross my mind at all. Guess my head was filled with other exhausting thoughts. thanks and thanks for the advice.

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