×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Radio Buttons & Quiz problems

Radio Buttons & Quiz problems

Radio Buttons & Quiz problems

(OP)
Hi

I am a newbie where lingo is concerned, and i have looked through books and previous postings to see if I could resolve this problem.

1.I have created a quiz. Firstly I have tried to use the radio button behaviour, but it seems quite temperamental, not sure if im putting the right parameters in. Im assuming the group should be the same number for all 4 buttons and that the buttons shouuld be one in each channel. PLZ could someone shed any light on this.

2. I have written a start movie script to set my variable to 0 for the quiz.
 on startmovie
  global gscore
  set gscore = 0
  end

I have added a onmouseUp script to the correct buttons, also increasing the score by 1, and to take me to the next page.

on mouseUp
 global gScore
gScore = gScore + 1
put gscore into field "Result"
go next
end

I have put a small script on the incorrect buttons to take it to the next screen(question)

on mouseUp
go next
end


I have created a field called Result to display the score.

The problems I am having are
1. It does not go to the next screen
2. The result increments to 1 then to 3 on the second question.
3. The text field that displays the score does not reset itself  so the 3 stays displayed in it even if i restart the movie.

Also i would also like to display at the end of the quiz which questions they got right and which they got incorrect, not sure how to do this. Could create ten txt fields on one page an also add to button code to add correct of incorrect to txt box depending which answer.?


If anyone could help me with any of the above I would really appreciate it.

Thanks in advance

K

  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close