homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Flash quiz
results counter does not function properly

10+ Year Member

Msg#: 48 posted 12:57 am on Apr 7, 2004 (gmt 0)

Dear All,
I have produced a small quiz from scratch (I don't like the quiz template much) featuring various types of problems such as multiple choice, true or false, fill in the blanks and lastly thorn in my side, the drag and drop. In order to add up results, I scripted a variable in frame 1, actions (ie results = 0) and for each problem I have scripted into the answer button/check answer button (for the correct answer of course) results +=1 and it works fine up until the drag and drop question. The problem is I don't want to use a check results button and accordingly I scripted the results += 1 into the transparent button so that when the button is released onto the correct answer it automatically adds it to the score (I have also scripted a sound and a message that tells the player they have guessed right or wrong which both work fine). However, it doesn't add it to the score meaning that even if the player gets every answer correct they will never get 100%. Also, I would love to put a score counter in each frame that tots up the score as the player goes along but don't how to script that, any ideas anyone?
I'm sorry for the long message but any help anybody could throw my way out there would be greatly appreciated. Cheers, Healo.



10+ Year Member

Msg#: 48 posted 12:12 am on Apr 8, 2004 (gmt 0)

Dear All
Have figured out first problem 1 but would still appreciate any advice on how to script a score counter into my quiz, ie something that adds up the score as the player goes along so they can see their progress. Thank you, Healo.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved