Skip to main content
vanithab70121609
Known Participant
June 18, 2015
Question

play pause Custom buttons in Captivate for Multiple Slides

  • June 18, 2015
  • 2 replies
  • 5307 views

Actually my requirement is i need play/pause toggle button for each slide and i can control it for one side but when it goes to the next slide, the name of the play pause button changes and i have to write individual codes for individual slides which is impossible as it results in play pause for indivdual slides and individual codes..

How can i have play/pause buttons for multiple slides..

Iam not using captivate play back controls. Iam using my own User Interface with Customized  next., previous, play/pause, etc...

Can anyone pls guide me out..

This topic has been closed for replies.

2 replies

vanithab70121609
Known Participant
June 18, 2015

‌i have next, previous buttons also and im not using captivate default player bar. On clicking the next button, the pause state should be resumed even if i clicked the pause button in the first slide Which will show the play state..

this is not possible with show for rest of the slide..

Lilybiri
Legend
June 18, 2015

I suspect you totally missed the importance of shape buttons that appeared with Captivate 6 (look at the blog posts why they are so important). Moreover in Captivate 8 those shape buttons can have 3 states: Up, Down and Rollover.

As for Next and Back and other buttons I always use shape buttons. All the examples you'll find for recent versions on my blog have shape buttons. I almost never use normal buttons anymore except the embedded buttons on Question/Score slide that cannot be changed into shape buttons.

Your last question can also perfectly be done with an advanced or shared action. You only have to check the state of cpCmndPause/cpCmndResume within the action triggered by the Next button and make sure the Play state is reset.

BTW I never talked about 'rest of slide' but 'rest of project'.

Lilybiri
Legend
June 23, 2015

lilybri,

Both the buttons are in the same location.

and regarding the buttons, the button names i named differently..

what i have to do in on enter event..

sorry for bugging you.. But iam not getting the results..


For the On Enter event you can use the PlayAudio action. As for the disable/enable statements, action should be changed like this (for me the AudioOff button is the one selected in your screenshot):

To stop audio

   Assign cpCmndMute with 1   

   Disable AudioOff

   Hide AudioOff

   Show AudioOn

   Enable AudioOn

To play audio

Assign cpCmndMute with 0   

   Disable AudioOn

   Hide AudioOn

   Show AudioOff

   Enable AudioOff

Lilybiri
Legend
June 18, 2015

Maybe you could find this blog post useful:

Toggle Shape buttons - Captivate 6 - Captivate blog

It depends on the way you create your toggle button, the examples here were not for play/pause but you could easily transfer what I explained in an older post to it:

Custom Play/Pause button in Captivate - Captivate blog

I certainly would choose for shape buttons. Either you create them on the master slide, but then you don't have an ID for the button (see one of my scenarios). Or you can put the shape button on the first slide and time it for the rest of the project, always on top.

vanithab70121609
Known Participant
June 18, 2015

‌Thanks lilybiri..

but i have two images designed from photoshop as play and pause buttons which have to toggle.. In this case to hide and show particular image i need to have ID for images..which is not possible for multiple slides..

whats the solution for this..

Lilybiri
Legend
June 18, 2015

Put the image in a shape button, sorry for another link:

Turn an Image into a Button - Captivate blog

So you can use my suggestion. When you time the shape buttons for the rest of the project (one of my scenarios in the first link), always on top, they will have a unique ID that you can use in the advanced action. You could also time the images the same way, but I find inserting them into a shape is reducing the number of objects on the slide.