Skip to main content
Inspiring
July 4, 2018
Answered

Replaying slide doesn't reset object show/hide status

  • July 4, 2018
  • 2 replies
  • 3604 views

I have a slide which works in two parts (see image below to identify the objects):

1) A first graphic menu is shown (using shapes as buttons) and whenever one of the three buttons (Btn_GDPR_What, Btn_GDPR_How or Btn_GDPR_Why)
is clicked, it calls an Advanced Action which shows some objects that are hidden by default (Shp_GDPR_What, Shp_GDPR_How or Shp_GDPR_Why,
according to the selected button).

2) This works fine and the learner can then select one of the Btn_GDPR_Detailsx buttons to display various information (they update variables that
are shown in the Shp_GDPR_Details box).

3) When the learner clicks on Btn_GDPR, it moves to the start of the slide to run the process over again.

Problem is the following:

The object that had been made visible in step (1) is still visible, even if another button is selected. It's as if restarting the slide didn't reset the objects
on it to their initial state (shown or hidden). In the Advanced Action attached to Btn_GDPR, I tried restarting the slide both by assigning cpInfoCurrentSlide -1 to cpCmdGotoSlide and also by using a Goto Previous slide command with a dummy slide before this one. Both restart the slide, but in both cases the objects' visibility status doesn't seem to have been reset to their original values.

I thought this may be a timeline issue and tried the having Shp_GDPR_What, Shp_GDPR_How and Shp_GDPR_Why objects starting at 0 and running to the end of the timeline, but this makes no difference.

Any insights would be more than welcome.

This topic has been closed for replies.
Correct answer wmsgva

I think you may have used up all your available credits with the free support team here.  Perhaps you could ring Adobe's official Support number and get their view on the issue. 


So, I have finally sorted out my problem. It boils down to two issues with Captivate:

1) My initial code was working (this has me rather reassured after years of coding in more complex environments). It just happens to be that Captivate doesn't produce the correct results when you preview slides. They need to be fully published to work as designed (...)

2) My template (downloaded within Captivate from the eLearning Brothers templates) was using a background image (only 72Kb file size), but this was creating problems, such as very long loading times for each slide when published.

I would like to thank Rema ******* who was effective in helping me troubleshoot the issues (and she's not paid by Adobe and is polite).

Let's hope Adobe solves some of the outstanding issues in Captivate (preview, use of Flash, outdated templates, ...) in the 2019 version, rather than just add new VR features. You need to get the basics right first !

2 replies

Inspiring
July 4, 2018

Could you post a screenshot of your On Enter action? Which objects are showing/not showing as expected?

wmsgvaAuthor
Inspiring
July 4, 2018

Here's a screenshot of the On Enter action.

These three shapes are originally hidden (eye in their properties barred). As they can be individually activated (shown) depending on which menu is selected (using Btn_GDPR_What, Btn_GDPR_How or Btn_GDPR_Why), they need to be hidden again when the slide is reset (after pressing on Btn_GDPR which jumps to previous dummy slide and then displays this slide again).

RodWard
Community Expert
Community Expert
July 4, 2018

So does clicking the Btn_GDPR actually execute this particular action named Act_Reset_Overview?  It would seem that if the button were executing this action then all three objects should be hidden.  But you only show three line items.  If you assign the button to execute this action, you should also have another line action at the end that jumps to the previous slide.

Have you tried all this?

RodWard
Community Expert
Community Expert
July 4, 2018

Rewinding the timeline back to the start of the slide, or even back to the previous slide and then re-entering the slide again DOES NOT automatically reset the visibility of objects.  If your actions have made an object visible or invisible, then it will stay that way until another object changes its visibility again.  That's how Captivate works.

So you need to design your interactivity to explicitly set the visibility of the objects, and also allow for the possibility that a slide might be re-entered later.  It's your job as a designer to work these things out.

wmsgvaAuthor
Inspiring
July 4, 2018

Why in that case do objects have a "Retain state on slide revisit" option in their properties? Would have thought checking this would make objects behave this way.

Furthermore, I just added an Advanced Action on the On Entry of my slide which hides the three objects, and it makes no difference. The ones previously made visible still remain visible.

Lilybiri
Legend
July 4, 2018

That option is for multistate objects. If it is unchecker, they'll revert to their Normal state. But you have to re-enter the slide.

Have a look at:

Easy Timeline Tweaks - Captivate blog

Replay (slide) Button - Captivate blog