Skip to main content
Participating Frequently
March 21, 2022
Answered

Using one image in a single advanced action across multiple slides - is it possible?

  • March 21, 2022
  • 1 reply
  • 243 views

I've got an image I've made for users getting the question right.  Currently I've got a single action script that plays a 'ding' sound, pauses for a couple seconds and then jumps back to the main question board.  It works great, and I just use that one script on the 'On Success' action for all 25 questions. Easy peasy.  Now we've decided it would be nice to add an image in case folks have their sound turned down, and the built-in "correct" text boxes just don't cut it visually despite best efforts to make them pretty enough.   I figured if I imported my new image into the library, I'd be able to place it on each slide and 'hide' or 'show' based on what's happening, and just add that line to my little script.
Except when I drag the image to a slide from the library, it changes the name and instead of "Correct Bubble", it's now "Image_16", then "Image_17", etc... making it impossilbe to do this one one script.  Now I need 25 different scripts that all do exactly the same thing, one for each question.  I feel like I've -got- to be missing something, but my searches are proving fruitless, and it seems bizarre that I can use a single audio file with a 'play audio' command, but not do the same with an image.

    This topic has been closed for replies.
    Correct answer Lilybiri

    Not sure to understand. Are you talking about an advanced action, a shared action or a JS script? Acrionscript was used for SWF output, will not work for HTML output which is now the only way to publish interactive courxes with Captivate?

    Some general tips while waiting for your answers: put the image on the first slide where you want it to appear, time it for the rest of the project. That way it will have a unique name. You can hide it with the same On Enter action fro all slides where you want to use it, and eventually hide it definitely for the slides after the last one where you need it. Then you can add Show Image as command to your present 'script'. 

    1 reply

    Lilybiri
    LilybiriCorrect answer
    Legend
    March 21, 2022

    Not sure to understand. Are you talking about an advanced action, a shared action or a JS script? Acrionscript was used for SWF output, will not work for HTML output which is now the only way to publish interactive courxes with Captivate?

    Some general tips while waiting for your answers: put the image on the first slide where you want it to appear, time it for the rest of the project. That way it will have a unique name. You can hide it with the same On Enter action fro all slides where you want to use it, and eventually hide it definitely for the slides after the last one where you need it. Then you can add Show Image as command to your present 'script'. 

    Participating Frequently
    March 21, 2022

    Sorry - yes, it's an Advanced Action in a Captivate 2019 project published to HTML5.

    This is a 'Jeopardy' style game where the users can pick whichever question out of 25 they want in any order, so in a way there's no 'first slide' once we get into the questions.

    Lilybiri
    Legend
    March 21, 2022

    You didn't specify that at all, and it changes the situation completely.

    Do you want the same image for all questions? In that case the principle is the same: put it on the slide, hide it and 'show' it with your advanced action. Why do you not use a shared action? 

    It would help if you posted the advanced action, preview window. You may need to hide the image at the end of the action, but without seeing the complete setup and goal it is difficult to guess.