Skip to main content
Known Participant
June 21, 2012
Question

Advance Action Replay Not Consistent

  • June 21, 2012
  • 1 reply
  • 724 views

Working with Captivate 5.5, I have created an Advanced Action designed to replay the current slide. It is attached to a REPLAY button that appears after the slide's audio is finished and the slide has paused.  The Execute Advanced Action is invoked "On Success" for my REPLAY button. The course content was built and being tested when I noticed that this Advanced Action no longer works.  The Advanced Action code has only two lines : (1) Assign cpCmndGotoSlide with rdinfoCurrentSlide (2) Continue. I have seen within this discussion group that someone also had this problem but it was resolved by duplicating the same two lines of code...I tried that and it didn't work for me.  The screen returns to the beginning of the slide but does NOT resume playing. 

Thinking the slide thought it was still in a PAUSE state, I tried adding an extra lines of code before the Continue line of code: (1) Assign rdcmndResume with 1.  The problem still occurs.

Any idea on why the slide is not playing after the REPLAY andr what I can do differently to make this work?

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    June 22, 2012

    Hi,

    These advanced actions are working at my end as well.

    Did you tried this with a sample project, a project with just 2 plain slides, add a button and then add this advenced action.

    See if it works.

    If it does, then we can check the project.

    thanks

    Known Participant
    June 22, 2012

    GREAT SUGGESTION!  I created a small stand-alone module with the exact same code as previously used.  It worked perfectly.  So I went back to my actual CBT, recreated the function under a different name and tried it.  The new version worked and the old version (with the exact same lines of code) did not work.  I went through every slide with the replay code and attached the working version.  THANK YOU!!!

    Lilybiri
    Legend
    June 22, 2012

    Have epxerienced this kind of issues, if there is a conflict with the names of the advanced actions. Each label should be unique (there is one exception, will not elaborate on that). Maybe somewhere you had an object with the same name as the original name of the advanced action.

    Lilybiri