Skip to main content
chstefan
Known Participant
October 15, 2018
Answered

Issue with Shared Actions (not disappearing when advancing/requires two clicks)

  • October 15, 2018
  • 1 reply
  • 1569 views

Hi everyone! First time poster here. I’m creating a curriculum for a client that wanted it created with Captivate. It’s a fish ID course, so each slide is a fish image. There’s a question mark at the bottom that, when clicked, opens the fish name. I made it a shared action so that when the user advances to the next slide, it is supposed to disappear.

It worked fine for one export, but now the actions apparently no longer work. Additionally, it requires two clicks to trigger the pop-up. I got these buttons working over two months ago at this point, and since it was my first time working with advanced actions, I can’t remember for the life of me what I did.  In the one screenshot of the Advanced Actions box, you’ll see that one setting is left blank. I don’t remember why that’s like that but it’s the same in the archived version of the project where the actions work correctly.

If anyone can advise, I’m happy to share a link to the project. It’s a massive file; every slide is an image so it’s 776.2 MB (even when saved as 150 dpi at 1280 x 720). I’ve included some screenshots that might be relevant. Looking forward to some answers!

    This topic has been closed for replies.
    Correct answer Lilybiri

    Hi Lilybiri,

    Would you be able to clarify a little bit more about what you mean? I'm also happy to share a truncated version of the project with you or RodWard​ if either of you are willing to try to unpack what's going on here. I have the slide set to hide the fish name on enter. Would it be better to change the on-enter action to be resetting the variable to 0?

    Figuring out this glitch is the last thing I need to do before the curriculum is done so I'm eager to get this figured out. This curriculum is going to be a template for 12 others so I need to figure this out before I begin replicating it across the board.

    Best,

    Christina


    I meant to use the On Enter action of the slide to reset the situation as it was the first time.

    It is perfectly possible to use the Toggle command instead of the Assign command in the conditional action as I explained in the blog post you mentioned before.  But if you want the image to be invisible when the slide is revisited you have to use two commands in the On Enter action of the slide:

       Hide image

       Assign v_visib with 0

    In this situation, with that standard action, you cannot use the Toggle command but need to use the Assign command for the variable.

    You only have to use this On Enter action if you want that reset. If the image may remain visible,  the variable was toggled to 1 there is no need to do this.

    1 reply

    RodWard
    Community Expert
    October 15, 2018

    Why is each slide over 48 seconds long? There does not appear to be audio on the slide so it's not really necessary for such a long timeline.  Unless there is some compelling reason for such lengthy timelines, I recommend you make each slide just 3 or 5 seconds in length.  It will be easier to debug what is happening.

    I think part of your problem might be connected to toggling that variable Togglename.  Set up a text caption timed for Rest of Project and insert the variable so that it displays the variable's current value on all sildes.  Then see if the values match what you expected.

    If users are supposed to click one of the Next or Back buttons to move to each slide, it would probably be better to have those buttons execute a Shared Action that first hides the text object on that slide and then jumps back or next.  That way you would not need to be toggling any variables.

    chstefan
    chstefanAuthor
    Known Participant
    October 15, 2018

    Thanks so much for the quick reply. In terms of the lengthy slides, that was one of the recommendations I found for getting around Captivate's automatic slide advancements. If you know of a better way, I'm all ears!

    The toggle is actually because I need the question mark to both reveal and hide the name (per the client's request). So the question mark needs to both reveal and hide the name, but if the user advances to the next slide without clearing the name, the name needs to disappear when they advance. How would you recommend structuring those different actions? 

    RodWard
    Community Expert
    October 15, 2018

    Whoever told you to make the slides long like that did not understand how the Captivate timeline works.

    The 'better way' is to simply set one of those buttons on the slide to pause it at about 1.5 seconds in.  There's no need to do anything else.

    OK.  If I understand you correctly, the client wants clicking on the question mark multiple times while still on the same slide to cause the name to appear and disappear.  Is that correct?  If so, then yes I could see a reason for having the toggle variable.

    However, If the learner really only needs to ever reveal the name of the fish ONCE per slide, and clicking the Next or Back buttons could be used to hide the text caption before moving to another slide, then I would see no reason for requiring a toggle variable.