Skip to main content
Known Participant
September 26, 2021
Answered

Back again with another question

  • September 26, 2021
  • 1 reply
  • 2378 views

So I'm stuck on a button fuction. I've made a custom button that opens the built in TOC. I'm cool with this. But I'm trying to make it so whatever slide is playing, if there's a video or what not, pauses when the TOC is open then plays again the minute you close the TOC.

 

Right now, I have an AA attached to my custom TOC button and it reads like this:

 

Pause

Show TOC

(not much to show here.)

 

This pauses the video when the TOC opens but I can't, for the life of me and I've been trying for a while here, figure out how to make the slides play again when the TOC closes. I know I'm missing something simple guys, LOL. Like it must be dumb simple, LOL. But so out of all the AA's I've made, this part was all that worked.

 

Thoughts, comments?

 

    This topic has been closed for replies.
    Correct answer Lilybiri

    I need the responsiveness due to my client requesting it to be reponsive on other devices like tablets and phones. But , it's alright @Lilybiri, I know you've got a lot on your plate so I'll figure it out somehow, lol.


    What you created is not responsive at all.  Hope you realize that before confronting your client?  I asked to check your project in all the possible browser resolutions. Have a look at:

    http://blog.lilybiri.com/fluid-boxes-and-interactive-video-position-properties-panel

     

    1 reply

    Lilybiri
    Legend
    September 26, 2021

    The opposite command of Pause is Continue. For a toggle TOC button:

    IF cpCmndTOCVisible is equal to 0

        Toggle cpCmndTOCVisible

        Pause

    ELSE

        Toggle cpCmndTOCVisible

        Continue

     

    If you want to show a different state of the button when the TOC is showing, you need to add a custom state to the button. I used it in the workshop which I presented the 23rd of September during the Adobe eLearning World Conference. I don't know if you can still download the assets, because the start project did include that shared action.

     

    Known Participant
    September 26, 2021

    @Lilybiri Yup, this was one of the AA's I tried. The IF and THEN part work but the ELSE...maybe it's my Captivate. I can easily pause the slide when the TOC opens but then to continue when it closes is the part that refuses to work.

     

    Known Participant
    September 26, 2021

    I don't know if it's the Continue Action that's acting up here because it paused just fine when the TOC opened.