Articulate Community Forums

Articulate Community Forums » Articulate Product Forums » Articulate Quizmaker » Remove FINISH button

Reply
 
LinkBack Thread Tools Search this Thread
Old 09-30-2008, 02:28 PM   # 11
Member
 
Join Date: Sep 2008
Posts: 1
Default Re: Remove FINISH button


Quote:
Originally Posted by joep View Post
Hi ber22,
I haven't had any success in modifying quiz files and then publishing them through Presenter. I'd guess that Presenter regenerates those files internally and ignores the modifications.

However, since you can redirect through javascript to another page, you can put a link to your (customized) quiz on the last slide of your presentation, then have the Finish button on the quiz redirect to the first slide of your next presentation. Not perfect, but comes close to what you're after.

For any sort of confirmation on the Finish button, you can change the CloseWindow function from

Code:
function CloseWindow()
{
   window.close();
}
to something like

Code:
function CloseWindow()
{
  if (confirm("You should print this page before continuing.\nAre you sure you want to continue?"))
  {
     window.close();
  }
}
To redirect to the next page, instead of "window.close();" you can put "window.location='http://address_of_your_next_page';"

-- Joe
I've found that I had to modify the flashcommand.js file when I publish a quiz through Presenter and want to change the behavior of the FINISH button. Find the flashcommand.js file in the player folder and locate this section of code.

case "ART_CloseAndExit":
if (!g_bLMS)
{
alert('Hello')
//top.window.close();
}
break;
I just inserted the alert so that it wouldn't close the window. It seems as if once you publish through Presenter it's Javascript takes precedence over the javascript in the quizmaker.html file. PITA!!
twashington is offline  
Reply With Quote
Old 04-16-2009, 03:44 PM   # 12
Member
 
Join Date: Dec 2008
Posts: 34
Default Re: Remove FINISH button


Anyone know how to do this in Articulate 09.....the close functions you talk about here are now in a js file....I tried your workaround by adding an alert to the CloseWindow function but doesn't seem to work,...please help...thanks
NYC_Chris is offline  
Reply With Quote
Old 07-16-2009, 02:10 PM   # 13
Member
 
Join Date: Jun 2009
Posts: 11
Default Re: Remove FINISH button


Solution Summary:

Because Articulate developers did not use "_lockroot" by inserting a custom swf on an end page, we can write custom code to turn the finish button invisible.

Solution:

1. Create a new flash movie
2. In the actions panel insert the following code:

_root.g_mcFrame.mcFinish._visible = false;

3. Publish
4. Using the slide view on an endpage in Quizmaker, choose to insert a swf, browse for your custom code and insert.

5. Publish your quiz.

Note: the object (_root.g_mcFrame.mcFinish._visible = false was found by making a flash movie that simply loads a quizmaker quiz.swf to the root, then I used the flash debug options to list all objects.

Hope this helps, and also inspires some more exploration of the endless possibilities of this exploit!

(note: the zipped SWF is attached to this post)
Attached Files
File Type: zip removefinishbutton.zip (5.7 KB, 47 views)


Last edited by beeneeb : 07-16-2009 at 02:46 PM.
jdallas is offline  
Reply With Quote
Old 07-16-2009, 02:18 PM   # 14
Moderator
 
dmozealous's Avatar
 
Join Date: Feb 2006
Location: Boulder, CO
Posts: 934
Default Re: Remove FINISH button


Sick jdallas. Obviously we don't support this, but you are a very smart man. Thanks for posting this.
__________________
Dave Mozealous
Quality Assurance Manager
Visit my blog @ http://www.mozealous.com

You should follow me on twitter here.
dmozealous is offline  
Reply With Quote
Old 07-16-2009, 02:31 PM   # 15
Moderator
 
dmozealous's Avatar
 
Join Date: Feb 2006
Location: Boulder, CO
Posts: 934
Default Re: Remove FINISH button


P.S. Feel free to upload the SWF that you created to this thread. I think a lot of people don't have Flash, so if the SWF was here I think it would help people out.
__________________
Dave Mozealous
Quality Assurance Manager
Visit my blog @ http://www.mozealous.com

You should follow me on twitter here.
dmozealous is offline  
Reply With Quote
Old 07-16-2009, 02:39 PM   # 16
Member
 
Join Date: Jun 2009
Posts: 11
Default Re: Remove FINISH button


There you guys go!

Edited for Blog shout out

eLearning Dude
Attached Files
File Type: zip removefinish.zip (5.7 KB, 27 views)


Last edited by jdallas : 07-16-2009 at 02:46 PM.
jdallas is offline  
Reply With Quote
Old 08-13-2009, 07:55 AM   # 17
Member
 
Join Date: Jun 2009
Posts: 3
Default Re: Remove FINISH button


Thanks for the zip! I'm creating standalone quizzes without Presenter, and got the Flash to work in Quizmaker 09, but the Finish button appears a few seconds on page load and then disappears. I placed the Flash on the Pass/Fail Results screens. Is there something else I need to do to prevent Finish from appearing on page load?
DonnaW is offline  
Reply With Quote
Old 10-29-2009, 11:26 AM   # 18
Member
 
Join Date: Oct 2009
Posts: 2
Default Re: Remove FINISH button


jdallas, is there a way to use the remove finish button code to remove the Retry Quiz button once the user has passed? If there is a way to do this, do you know the name of the movieclip for this Retry Quiz button?
jermit82 is offline  
Reply With Quote
Old 10-29-2009, 02:52 PM   # 19
Moderator
 
Justin's Avatar
 
Join Date: Feb 2006
Posts: 7,881
Default Re: Remove FINISH button


Quote:
Originally Posted by jermit82 View Post
jdallas, is there a way to use the remove finish button code to remove the Retry Quiz button once the user has passed? If there is a way to do this, do you know the name of the movieclip for this Retry Quiz button?
Hello and welcome to the forums! You can remove the Retry quiz button. Here's how:
Remove Retry Quiz button in Presenter ‘09 – Articulate Presenter ‘09 Knowledge Base
__________________
Justin Wilcox
Customer Support Manager
Articulate - Empowering Rapid E-Learning
Tweet me here.
Justin is offline  
Reply With Quote
Old 10-29-2009, 03:04 PM   # 20
Member
 
Join Date: Oct 2009
Posts: 2
Default Re: Remove FINISH button


Justin, thanks for replying but I need to allow the user to take the quiz more than once if they fail as well. So changing the setting to just allow the user to take the quiz just once will not help me. I would like to remove the retry quiz when the user passes the quiz, but since I have it set to allow them to take the quiz a total of 3 times it does this for both the pass and fail screens. Is there a way to do that?

Thanks,
jermit82
jermit82 is offline  
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On