• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

SVG Hide on replay slide

Community Beginner ,
Aug 15, 2023 Aug 15, 2023

Copy link to clipboard

Copied

Hello,

I am using Adobe Captivate 11.8.0.586. I am incorporating SVGs into my Adobe Captivate project, and I have crafted a custom replay button using the JavaScript code: "cpCmndGotoSlide = cpInfoCurrentSlide - 1;", which appears throughout the rest of the project. However, when I click the replay button, it hides all the SVGs but not the JPEGs. Additionally, when I return to the slide after navigating to the previous slide, all the objects reappear.

Views

44

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 15, 2023 Aug 15, 2023

Copy link to clipboard

Copied

LATEST

Hmm.. I know what you need. The SVGs need to be re-rendered again. Instead of the Replay standard action which I explained multiple times you need to re-enter the slide. Have a look at this blog post (or the Captivate tutorial) which explains the difference between Replay and Reset (=re-entering the slide):

https://blog.lilybiri.com/replay-or-reset-slide

https://blog.lilybiri.com/replay-slash-reset-slide-2-captivate-tutorial

In short: you need a variable to store the first frame number of the slide, and use that variable to reset the playhead one or two frames before that first frame number, thus re-entering the slide from the previous slide.

An easier way is to create a very short dummy slide before the present slide, navigate to that slide. Learner will barely notice that there was an intermediate slide.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources