-
Flash Quiz Template, adding if 90% then go to
Hi all, I am using the Flash Quiz template. Is there a way to add something like:
If the user scores 90% or above go to frame 9.
If the user scores less than 90% go to frame 10.
I imagine I would be writing some sort of If statement. Im just not sure what to write or where to put it.
I appreciate any help you can offer.
thanks
-
PHP Code:
if(numCorrect/numTotal >= .9){ gotoAndStop(9); } else { gotoAndStop(10); }
-
thank you for your reply. Would you mind taking a look at the Flash Quiz Template and help determin where to insert this code?
thanks!
-
Sorry, I'm not sure where to find it. Post a link.
-
Last edited by scadbrad; 01-12-2009 at 10:48 PM.
-
Just giving this a bump. Any ideas anyone? I’m just using the standard Quiz template that can be accessed from File>New>Templates>Quiz>Quiz_style2. I imagine that the code Ink2626 provided is sufficient, I just don’t know where to put it. There are several pages of ActionScript in the template.
thanks!
-
insert a blank frame before the score frames and put the code there. Make it so that once the last question is clicked it goes to that frame, it should work
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|