Copy link to clipboard
Copied
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..
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
‌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..
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
‌so we should turn the image to a button and time for the rest of the ptoject.. Isnt it..
so it will work for multiple slides.. Right.
i Will check and get back to you.. It will be really helpful if you give some sample for this.. I have pause image, roll over image for pause, play image, roll over image for play And i want to play pause the timeline and i have around 50 slides.
one more clarification..this project contains questions and what if i dnt play/ pause for questions.. Bcos if i gve show rest of the project it will show for the entire project..
Copy link to clipboard
Copied
‌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..
Copy link to clipboard
Copied
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'.
Copy link to clipboard
Copied
‌thanks a ton lilybri..
i Have buttons designed in photoshop as the client needs some glossy effect for the normal and roll over state.. This can also be done by converting images into button right..?
Copy link to clipboard
Copied
You can fill each state with another image, yes. I mostly import the PSD in the Library, with each image being a layer. Captivate will convert the layers to PNG's that you can use to fill the three states of a shape button.
Copy link to clipboard
Copied
HI lilybiri,
Iam unable to do this.. I dont know where iam wrong.. Can i upload the file for you to have a look..
Copy link to clipboard
Copied
I am sorry, maybe someone else will debug your file, but I decided some months ago not to accept to do that anymore. I am always prepared to help on the forums as you can see, and my blog offers many tutorials for free. You don't even say what is not working this time.
Copy link to clipboard
Copied
Lilybiri,
First slide is working fine.. Rest of the slides is not working fine..when the timeline is paused and the screen has play button and if i click the next button, it shows the play button.. how can i reset..
Copy link to clipboard
Copied
Something must be wrong with your actions. Did you not forget to put the shape buttons that are displayed for the rest of the project always on top?
Copy link to clipboard
Copied
how can i reset to pause button on clicking the next slide even though the play buttons is on the stage.. because on clicking the next slide pause button should be there as a default.
Copy link to clipboard
Copied
You need to use the On Enter event of each slide to reset the original configuration. Probably the same advanced action can be used on all slides.
Copy link to clipboard
Copied
Thanks Lilybiri.. I somehow achieved it but i have problem with the initial slide alone..
Now i want audio mute and unmute buttons for all the slides and i have the buttons in the first slide and gave as timed for the rest of the project.
I have toggled cpcommandMute as 1 and 0.
But it is working fine for the first slide alone.. rest it is not working..
I appreciate your help..
Copy link to clipboard
Copied
Can you post a screenshot of the conditional action that you are using? Or are you using two different buttons for Mute and and Unmute? This article has several scenarios for mute/unmute buttons:
Copy link to clipboard
Copied
Iam using two different buttons with two different actions attached to it. first button first action and second button second action.
Copy link to clipboard
Copied
You need scenario 4 as explained in that blog post (see previous answer). No need for an extra variable (soundplaying), since the system variable is already tracking the audio status. No need for a conditional action (you didn't even show the ELSE part of that action), two simple standard actions will do the trick. Moreover you showed/hided the wrong button for that condition action.
For the Stop Audio button:
Assign cpCmndMute with 1
Hide audiooffbutton
Show audioplaybutton
For the Play Audio button:
Assign cpCmndMute with 0
Hide audioplaybutton
Show audiooffbutton
Why make it complicated when it can be done simple?
If you want to reset the original situation on each slide (Off button visible), you'll need to use the first action also for the On Enter action of each slide.
Copy link to clipboard
Copied
i tried with this exactly.. But it is working for the first slide only.
second slide when i click hte button, audio is not muting as well as the button doesnt changes.
can i upload the file.. It is a simple blank file with two buttons only..
Copy link to clipboard
Copied
May be u wouldnt checked for multiple slides..
Copy link to clipboard
Copied
I spend a lot of time checking and double-checking before publishing any article. It works perfectly for me for multiple slides. I just even double-checked for Captivate 8, because the original file was created in CP6. Everything is OK.
Copy link to clipboard
Copied
i used this action only but in subsequent files the code is not working. I have two buttons audioon, audiooff timed for the rest of the project.pls help me out
For the Stop Audio button:
Assign cpCmndMute with 1
Hide audiooffbutton
Show audioplaybutton
For the Play Audio button:
Assign cpCmndMute with 0
Hide audioplaybutton
Show audiooffbutton
Copy link to clipboard
Copied
I don't know what is going wrong, because that works perfectly for me. I also use the Play Audio action On Enter for each slide to reset the situation.
The only audio that will not be muted by those custom buttons is in responsive projects, audio triggered by a Play Audio action for an On Success event of an interactive object. If you expect to have such audio in a responsive project (normal project is OK), you have to add the statement 'Stop Triggered Audio) to the Stop audio action.
Copy link to clipboard
Copied
The audio is not muted for the second and subsequent slides. I will attach the screenshots.